Class GenericLocalVariable
java.lang.Object
org.jd.core.v1.service.converter.classfiletojavasyntax.model.localvariable.AbstractLocalVariable
org.jd.core.v1.service.converter.classfiletojavasyntax.model.localvariable.GenericLocalVariable
-
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
ConstructorsConstructorDescriptionGenericLocalVariable
(int index, int offset, GenericType type) GenericLocalVariable
(int index, int offset, GenericType type, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(LocalVariableVisitor visitor) int
getType()
boolean
isAssignableFrom
(Map<String, BaseType> typeBounds, Type otherType) 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
setType
(GenericType type) 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
-
type
-
-
Constructor Details
-
GenericLocalVariable
-
GenericLocalVariable
-
-
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
-