Package gw.internal.gosu.parser
Class GosuAnnotationInfo
java.lang.Object
gw.internal.gosu.parser.GosuAnnotationInfo
- All Implemented Interfaces:
IAnnotationInfo
,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IFeatureInfo
private INewExpression
private Object
private String
private IGosuClassInternal
private IGosuAnnotation
private IType
private static final Object
-
Constructor Summary
ConstructorsConstructorDescriptionGosuAnnotationInfo
(IGosuAnnotation rawAnnotation, IFeatureInfo container, IGosuClassInternal owner) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addEnclosingPackages
(ITypeUsesMap map, IType type) private void
private Object
private Object
evaluate
(IExpression expr) private INewExpression
getExpr()
getFieldValue
(String field) private Object
getName()
getType()
private Object
getValueFromCallSite
(String field) private Object
getValueFromDeclaredDefaultValueAtDeclSite
(IType type, String field) private Annotation
private INewExpression
toString()
-
Field Details
-
NOT_FOUND
-
_instance
-
_container
-
_owner
-
_newExpressionAsString
-
_expr
-
_rawAnnotation
-
_type
-
-
Constructor Details
-
GosuAnnotationInfo
public GosuAnnotationInfo(IGosuAnnotation rawAnnotation, IFeatureInfo container, IGosuClassInternal owner)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceIAnnotationInfo
-
getContainer
-
getOwnersType
- Specified by:
getOwnersType
in interfaceIAnnotationInfo
-
getDisplayName
-
getDescription
- Specified by:
getDescription
in interfaceIAnnotationInfo
-
getTarget
- Specified by:
getTarget
in interfaceIAnnotationInfo
-
getInstance
- Specified by:
getInstance
in interfaceIAnnotationInfo
-
ensureOwnerIsFullyParsedAndValid
private void ensureOwnerIsFullyParsedAndValid() -
makeAnnotationInfoProxy
-
getFromJavaType
-
getFieldValue
- Specified by:
getFieldValue
in interfaceIAnnotationInfo
-
getValueFromDeclaredDefaultValueAtDeclSite
-
getValueFromCallSite
-
evaluate
-
getExpr
-
parseNewExpression
-
eval
-
addEnclosingPackages
-
getType
- Specified by:
getType
in interfaceIAnnotationInfo
-
toString
-
getNewExpressionAsString
-
getRawAnnotation
-
getRepeatableContainer
-