public abstract class SrcAnnotated<T extends SrcAnnotated<T>> extends SrcElement
INDENT
Constructor and Description |
---|
SrcAnnotated() |
SrcAnnotated(SrcAnnotated owner) |
getOwner, indent, makeCompileTimeConstantValue, render, setOwner, toString
public SrcAnnotated()
public SrcAnnotated(SrcAnnotated owner)
public T addAnnotation(SrcAnnotationExpression anno)
public T modifiers(long modifiers)
public T addParam(SrcParameter param)
public List<SrcAnnotationExpression> getAnnotations()
public SrcAnnotationExpression getAnnotation(Class<? extends Annotation> annoClass)
public boolean hasAnnotation(Class<? extends Annotation> annoClass)
public boolean hasAnnotation(String fqn)
public long getModifiers()
public String getSimpleName()
public List<SrcParameter> getParameters()
public void forwardParameters(StringBuilder sb)
public void clearUserData()
protected void renderAnnotations(StringBuilder sb, int indent, boolean sameLine)
protected String renderParameters(StringBuilder sb)
protected String renderParameters(StringBuilder sb, boolean forSignature)
public StringBuilder renderArgumenets(StringBuilder sb, List<SrcArgument> arguments, int indent, boolean sameLine)
protected String renderModifiers(StringBuilder sb, boolean isDefault, int defModifier)
protected String renderModifiers(StringBuilder sb, long modifiers, boolean isDefault, int defModifier)
Copyright © 2024. All rights reserved.