站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

Parameter (Classfile Reader) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.classfile/1 1.19

org.netbeans.modules.classfile
Class Parameter

java.lang.Object
  extended by org.netbeans.modules.classfile.Field
      extended by 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.


Method Summary
 String getDeclaration()
          Return a string in the form " ".
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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

org.netbeans.modules.classfile/1 1.19

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.