Package manifold.api.gen
Class SrcField
- java.lang.Object
-
- manifold.api.gen.SrcElement
-
- manifold.api.gen.SrcAnnotated<SrcField>
-
- manifold.api.gen.SrcField
-
public class SrcField extends SrcAnnotated<SrcField>
-
-
Field Summary
-
Fields inherited from class manifold.api.gen.SrcAnnotated
NON_SEALED, SEALED
-
Fields inherited from class manifold.api.gen.SrcElement
INDENT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SrcFieldenumConst()SrcTypegetType()SrcFieldinitializer(String expr)SrcFieldinitializer(SrcExpression expr)booleanisEnumConst()StringBuilderrender(StringBuilder sb, int indent)SrcFieldtype(Class type)SrcFieldtype(String type)SrcFieldtype(SrcType type)-
Methods inherited from class manifold.api.gen.SrcAnnotated
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
-
Methods inherited from class manifold.api.gen.SrcElement
getOwner, indent, makeCompileTimeConstantValue, setOwner, toString
-
-
-
-
Method Detail
-
getType
public SrcType getType()
-
initializer
public SrcField initializer(SrcExpression expr)
-
isEnumConst
public boolean isEnumConst()
-
enumConst
public SrcField enumConst()
-
render
public StringBuilder render(StringBuilder sb, int indent)
- Specified by:
renderin classSrcElement
-
-