Package gw.internal.gosu.parser
Class GosuAnnotation
java.lang.Object
gw.internal.gosu.parser.GosuAnnotation
- All Implemented Interfaces:
IGosuAnnotation,Serializable
Holds annotation information for a feature
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGosuAnnotation(ICompilableTypeInternal enclosingType, IType type, Expression expression, AnnotationUseSiteTarget target, int iOffset, int end) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetName()getType()voidsetExpression(Expression expr) booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gw.internal.gosu.parser.IGosuAnnotation
isJavaAnnotation
-
Constructor Details
-
GosuAnnotation
public GosuAnnotation(ICompilableTypeInternal enclosingType, IType type, Expression expression, AnnotationUseSiteTarget target, int iOffset, int end)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceIGosuAnnotation
-
getType
- Specified by:
getTypein interfaceIGosuAnnotation
-
getNewExpressionAsString
- Specified by:
getNewExpressionAsStringin interfaceIGosuAnnotation
-
getExpression
- Specified by:
getExpressionin interfaceIGosuAnnotation
-
setExpression
-
clearExpression
public void clearExpression()- Specified by:
clearExpressionin interfaceIGosuAnnotation
-
getTarget
- Specified by:
getTargetin interfaceIGosuAnnotation
-
shouldPersistToClass
public boolean shouldPersistToClass()- Specified by:
shouldPersistToClassin interfaceIGosuAnnotation
-
shouldRetainAtRuntime
public boolean shouldRetainAtRuntime()- Specified by:
shouldRetainAtRuntimein interfaceIGosuAnnotation
-
getOwnersType
- Specified by:
getOwnersTypein interfaceIGosuAnnotation
-
clearDebugInfo
public void clearDebugInfo()
-