当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
Parameter (Classfile Reader) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.classfile
Class Parameter
java.lang.Object
org.netbeans.modules.classfile.Field
org.netbeans.modules.classfile.Parameter
public final class Parameter
- extends Field
A representation of a parameter to a method declaration. A parameter
will not have a name, unless the classfile is compiled with local
variable tables (if not, then the name is an empty string).
A final modifier on a parameter is never reported,
since that modifier is not stored in a classfile.
Methods inherited from class org.netbeans.modules.classfile.Field |
getAccess, getAnnotation, getAnnotations, getAttributes, getClassFile, getDescriptor, getName, getTypeSignature, isAnnotationPresent, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isSynthetic |
getDeclaration
public final String getDeclaration()
- Return a string in the form " ". Class types
are shown in a "short" form; i.e. "Object" instead of
"java.lang.Object"j.
- Specified by:
getDeclaration
in class Field
- Returns:
- string describing the variable and its type.
toString
public String toString()
- Overrides:
toString
in class Field