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 org.jd.core.v1.service.converter.classfiletojavasyntax.model.localvariable.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 TypeMethodDescriptionvoid
accept
(LocalVariableVisitor visitor) int
getType()
boolean
isAssignableFrom
(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.boolean
isAssignableFrom
(Map<String, BaseType> typeBounds, AbstractLocalVariable variable) void
toString()
void
typeOnLeft
(Map<String, BaseType> typeBounds, Type type) void
typeOnRight
(Map<String, BaseType> typeBounds, Type type) void
variableOnLeft
(Map<String, BaseType> typeBounds, AbstractLocalVariable variable) void
variableOnRight
(Map<String, BaseType> typeBounds, AbstractLocalVariable variable) Methods inherited from class org.jd.core.v1.service.converter.classfiletojavasyntax.model.localvariable.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:
getType
in classAbstractLocalVariable
-
setType
-
getDimension
public int getDimension()- Specified by:
getDimension
in classAbstractLocalVariable
-
accept
- Specified by:
accept
in classAbstractLocalVariable
-
toString
-
isAssignableFrom
Description copied from class:AbstractLocalVariable
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.- Specified by:
isAssignableFrom
in classAbstractLocalVariable
-
typeOnRight
- Specified by:
typeOnRight
in classAbstractLocalVariable
-
typeOnLeft
- Specified by:
typeOnLeft
in classAbstractLocalVariable
-
isAssignableFrom
- Specified by:
isAssignableFrom
in classAbstractLocalVariable
-
variableOnRight
- Specified by:
variableOnRight
in classAbstractLocalVariable
-
variableOnLeft
- Specified by:
variableOnLeft
in classAbstractLocalVariable
-