public final class JConstant extends AbstractJField
Constructor and Description |
---|
JConstant(JType type,
String name)
Creates a new JConstant.
|
JConstant(JType type,
String name,
boolean makePrivate)
Creates a new JConstant.
|
getComment, getDeclaringClass, getInitString, getModifiers, getName, getType, isDateTime, setComment, setComment, setDateTime, setDeclaringClass, setInitString, setModifiers, setName, toString
addAnnotation, getAnnotation, getAnnotations, hasAnnotations, isAnnotationPresent, printAnnotations, removeAnnotation
Copyright © 2021. All rights reserved.