public class SrcAnnotationExpression extends SrcExpression<SrcAnnotationExpression>
INDENT
Constructor and Description |
---|
SrcAnnotationExpression(Class type) |
SrcAnnotationExpression(String fqn) |
Modifier and Type | Method and Description |
---|---|
SrcAnnotationExpression |
addArgument(SrcArgument arg) |
SrcAnnotationExpression |
addArgument(String paramName,
Class type,
Object value) |
SrcAnnotationExpression |
addArgument(String paramName,
SrcType type,
Object value) |
SrcAnnotationExpression |
copy() |
String |
getAnnotationType() |
SrcArgument |
getArgument(String paramName) |
List<SrcArgument> |
getArguments() |
StringBuilder |
render(StringBuilder sb,
int indent) |
StringBuilder |
render(StringBuilder sb,
int indent,
boolean sameLine) |
addAnnotation, addAnnotation, addAnnotation, addParam, addParam, addParam, addParam, clearUserData, computeOrGetUserData, forwardParameters, getAnnotation, getAnnotations, getModifiers, getParameters, getSimpleName, getUserData, hasAnnotation, hasAnnotation, insertParam, modifiers, modifiers, modifiersFrom, name, removeUserData, renderAnnotations, renderAnnotations, renderArgumenets, renderModifiers, renderModifiers, renderParameters, renderParameters, withUserData
getOwner, indent, makeCompileTimeConstantValue, setOwner, toString
public SrcAnnotationExpression(String fqn)
public SrcAnnotationExpression(Class type)
public SrcAnnotationExpression addArgument(SrcArgument arg)
public SrcAnnotationExpression addArgument(String paramName, Class type, Object value)
public SrcAnnotationExpression addArgument(String paramName, SrcType type, Object value)
public SrcAnnotationExpression copy()
copy
in class SrcExpression<SrcAnnotationExpression>
public String getAnnotationType()
public List<SrcArgument> getArguments()
public SrcArgument getArgument(String paramName)
public StringBuilder render(StringBuilder sb, int indent)
render
in class SrcElement
public StringBuilder render(StringBuilder sb, int indent, boolean sameLine)
Copyright © 2024. All rights reserved.