Package org.glassfish.gmbal.typelib
Class TypeEvaluator.TypeEvaluationVisitor
java.lang.Object
org.glassfish.gmbal.typelib.TypeEvaluator.TypeEvaluationVisitor
- Enclosing class:
TypeEvaluator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.glassfish.pfl.basic.contain.Display<String, EvaluatedType> private final TypeEvaluator.PartialDefinitions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidevaluateType(Object type) private voidfieldException(Exception exc, Field fld) getBindings(Class decl) private EvaluatedTypegetCorrectDeclaration(TypeEvaluator.TypeEvaluationVisitor.OrderedResult<String, EvaluatedType> bindings, Class decl, EvaluatedClassDeclaration newDecl) getInheritance(Class cls) private EvaluatedTypelookup(TypeVariable tvar) private voidprivate voidprocessClass(EvaluatedClassDeclaration newDecl, Map<String, EvaluatedType> bindings, Class decl) private EvaluatedTypevisitClassDeclaration(Class decl) private EvaluatedFieldDeclarationvisitFieldDeclaration(EvaluatedClassDeclaration cdecl, Field fld) private EvaluatedTypeprivate EvaluatedMethodDeclarationvisitMethodDeclaration(EvaluatedClassDeclaration cdecl, Method mdecl) private EvaluatedTypeprivate EvaluatedTypeprivate EvaluatedType
-
Field Details
-
display
-
partialDefinitions
-
-
Constructor Details
-
TypeEvaluationVisitor
public TypeEvaluationVisitor()
-
-
Method Details
-
evaluateType
-
describe
-
message
-
visitClassDeclaration
-
visitParameterizedType
-
fieldException
-
visitFieldDeclaration
-
visitMethodDeclaration
private EvaluatedMethodDeclaration visitMethodDeclaration(EvaluatedClassDeclaration cdecl, Method mdecl) -
visitTypeVariable
-
visitGenericArrayType
-
visitWildcardType
-
lookup
-
getCorrectDeclaration
private EvaluatedType getCorrectDeclaration(TypeEvaluator.TypeEvaluationVisitor.OrderedResult<String, EvaluatedType> bindings, Class decl, EvaluatedClassDeclaration newDecl) -
processClass
private void processClass(EvaluatedClassDeclaration newDecl, Map<String, EvaluatedType> bindings, Class decl) -
getInheritance
-
getBindings
private TypeEvaluator.TypeEvaluationVisitor.OrderedResult<String,EvaluatedType> getBindings(Class decl) -
getBindings
private TypeEvaluator.TypeEvaluationVisitor.OrderedResult<String,EvaluatedType> getBindings(ParameterizedType pt)
-