public class GosuAnnotation extends Object implements Serializable, IGosuAnnotation
| Constructor and Description |
|---|
GosuAnnotation(ICompilableTypeInternal enclosingType,
IType type,
Expression expression,
AnnotationUseSiteTarget target,
int iOffset,
int end) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearDebugInfo() |
void |
clearExpression() |
Expression |
getExpression() |
String |
getName() |
String |
getNewExpressionAsString() |
ICompilableType |
getOwnersType() |
AnnotationUseSiteTarget |
getTarget() |
IType |
getType() |
void |
setExpression(Expression expr) |
boolean |
shouldPersistToClass() |
boolean |
shouldRetainAtRuntime() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisJavaAnnotationpublic GosuAnnotation(ICompilableTypeInternal enclosingType, IType type, Expression expression, AnnotationUseSiteTarget target, int iOffset, int end)
public String getName()
getName in interface IGosuAnnotationpublic IType getType()
getType in interface IGosuAnnotationpublic String getNewExpressionAsString()
getNewExpressionAsString in interface IGosuAnnotationpublic Expression getExpression()
getExpression in interface IGosuAnnotationpublic void setExpression(Expression expr)
public void clearExpression()
clearExpression in interface IGosuAnnotationpublic AnnotationUseSiteTarget getTarget()
getTarget in interface IGosuAnnotationpublic boolean shouldPersistToClass()
shouldPersistToClass in interface IGosuAnnotationpublic boolean shouldRetainAtRuntime()
shouldRetainAtRuntime in interface IGosuAnnotationpublic ICompilableType getOwnersType()
getOwnersType in interface IGosuAnnotationpublic void clearDebugInfo()
Copyright © 2017. All rights reserved.