Class ObjectLocalVariable
java.lang.Object
org.jd.core.v1.service.converter.classfiletojavasyntax.model.localvariable.AbstractLocalVariable
org.jd.core.v1.service.converter.classfiletojavasyntax.model.localvariable.ObjectLocalVariable
-
Field Summary
FieldsFields inherited from class AbstractLocalVariable
declared, frame, fromOffset, index, name, next, references, toOffset, variablesOnLeft, variablesOnRight -
Constructor Summary
ConstructorsConstructorDescriptionObjectLocalVariable(TypeMaker typeMaker, int index, int offset, Type type, String name) ObjectLocalVariable(TypeMaker typeMaker, int index, int offset, Type type, String name, boolean declared) ObjectLocalVariable(TypeMaker typeMaker, int index, int offset, ObjectLocalVariable objectLocalVariable) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(LocalVariableVisitor visitor) intgetType()booleanisAssignableFrom(Map<String, BaseType> typeBounds, Type type) Determines if the local variable represented by this object is either the same as, or is a super type variable of, the local variable represented by the specified parameter.booleanisAssignableFrom(Map<String, BaseType> typeBounds, AbstractLocalVariable variable) voidtoString()voidtypeOnLeft(Map<String, BaseType> typeBounds, Type type) voidtypeOnRight(Map<String, BaseType> typeBounds, Type type) voidvariableOnLeft(Map<String, BaseType> typeBounds, AbstractLocalVariable variable) voidvariableOnRight(Map<String, BaseType> typeBounds, AbstractLocalVariable variable) Methods inherited from class AbstractLocalVariable
addReference, addVariableOnLeft, addVariableOnRight, fireChangeEvent, getFrame, getFromOffset, getIndex, getName, getNext, getReferences, getToOffset, isDeclared, setDeclared, setFrame, setFromOffset, setName, setNext, setToOffset
-
Field Details
-
typeMaker
-
type
-
-
Constructor Details
-
ObjectLocalVariable
-
ObjectLocalVariable
-
ObjectLocalVariable
public ObjectLocalVariable(TypeMaker typeMaker, int index, int offset, ObjectLocalVariable objectLocalVariable)
-
-
Method Details
-
getType
- Specified by:
getTypein classAbstractLocalVariable
-
setType
-
getDimension
public int getDimension()- Specified by:
getDimensionin classAbstractLocalVariable
-
accept
- Specified by:
acceptin classAbstractLocalVariable
-
toString
-
isAssignableFrom
Description copied from class:AbstractLocalVariableDetermines if the local variable represented by this object is either the same as, or is a super type variable of, the local variable represented by the specified parameter.- Specified by:
isAssignableFromin classAbstractLocalVariable
-
typeOnRight
- Specified by:
typeOnRightin classAbstractLocalVariable
-
typeOnLeft
- Specified by:
typeOnLeftin classAbstractLocalVariable
-
isAssignableFrom
- Specified by:
isAssignableFromin classAbstractLocalVariable
-
variableOnRight
- Specified by:
variableOnRightin classAbstractLocalVariable
-
variableOnLeft
- Specified by:
variableOnLeftin classAbstractLocalVariable
-