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 IFeatureInfoprivate INewExpressionprivate Objectprivate Stringprivate IGosuClassInternalprivate IGosuAnnotationprivate ITypeprivate static final Object -
Constructor Summary
ConstructorsConstructorDescriptionGosuAnnotationInfo(IGosuAnnotation rawAnnotation, IFeatureInfo container, IGosuClassInternal owner) -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddEnclosingPackages(ITypeUsesMap map, IType type) private voidprivate Objectprivate Objectevaluate(IExpression expr) private INewExpressiongetExpr()getFieldValue(String field) private ObjectgetName()getType()private ObjectgetValueFromCallSite(String field) private ObjectgetValueFromDeclaredDefaultValueAtDeclSite(IType type, String field) private Annotationprivate INewExpressiontoString()
-
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:
getNamein interfaceIAnnotationInfo
-
getContainer
-
getOwnersType
- Specified by:
getOwnersTypein interfaceIAnnotationInfo
-
getDisplayName
-
getDescription
- Specified by:
getDescriptionin interfaceIAnnotationInfo
-
getTarget
- Specified by:
getTargetin interfaceIAnnotationInfo
-
getInstance
- Specified by:
getInstancein interfaceIAnnotationInfo
-
ensureOwnerIsFullyParsedAndValid
private void ensureOwnerIsFullyParsedAndValid() -
makeAnnotationInfoProxy
-
getFromJavaType
-
getFieldValue
- Specified by:
getFieldValuein interfaceIAnnotationInfo
-
getValueFromDeclaredDefaultValueAtDeclSite
-
getValueFromCallSite
-
evaluate
-
getExpr
-
parseNewExpression
-
eval
-
addEnclosingPackages
-
getType
- Specified by:
getTypein interfaceIAnnotationInfo
-
toString
-
getNewExpressionAsString
-
getRawAnnotation
-
getRepeatableContainer
-