Java Doc for MethodDeclaration.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » core » dom » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdt.core.dom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdt.core.dom.ASTNode
      org.eclipse.jdt.core.dom.BodyDeclaration
         org.eclipse.jdt.core.dom.MethodDeclaration

MethodDeclaration
public class MethodDeclaration extends BodyDeclaration (Code)
Method declaration AST node type. A method declaration is the union of a method declaration and a constructor declaration. For JLS2:
 MethodDeclaration:
 [ Javadoc ] { Modifier } ( Type | void ) Identifier (
 [ FormalParameter 
 { , FormalParameter } ] ) {[ ] }
 [ throws TypeName { , TypeName } ] ( Block | ; )
 ConstructorDeclaration:
 [ Javadoc ] { Modifier } Identifier (
 [ FormalParameter
 { , FormalParameter } ] )
 [throws TypeName { , TypeName } ] Block
 
For JLS3, type parameters and reified modifiers (and annotations) were added:
 MethodDeclaration:
 [ Javadoc ] { ExtendedModifier }
 [ < TypeParameter { , TypeParameter } > ]
 ( Type | void ) Identifier (
 [ FormalParameter 
 { , FormalParameter } ] ) {[ ] }
 [ throws TypeName { , TypeName } ] ( Block | ; )
 ConstructorDeclaration:
 [ Javadoc ] { ExtendedModifier }
 [ < TypeParameter { , TypeParameter } > ]
 Identifier (
 [ FormalParameter
 { , FormalParameter } ] )
 [throws TypeName { , TypeName } ] Block
 

When a Javadoc comment is present, the source range begins with the first character of the "/**" comment delimiter. When there is no Javadoc comment, the source range begins with the first character of the first modifier keyword (if modifiers), or the first character of the "<" token (method, no modifiers, type parameters), or the first character of the return type (method, no modifiers, no type parameters), or the first character of the identifier (constructor, no modifiers). The source range extends through the last character of the ";" token (if no body), or the last character of the block (if body).


since:
   2.0


Field Summary
final public static  ChildPropertyDescriptorBODY_PROPERTY
     The "body" structural property of this node type.
final public static  SimplePropertyDescriptorCONSTRUCTOR_PROPERTY
     The "constructor" structural property of this node type.
final public static  SimplePropertyDescriptorEXTRA_DIMENSIONS_PROPERTY
     The "extraDimensions" structural property of this node type.
final public static  ChildPropertyDescriptorJAVADOC_PROPERTY
     The "javadoc" structural property of this node type.
final public static  ChildListPropertyDescriptorMODIFIERS2_PROPERTY
     The "modifiers" structural property of this node type (added in JLS3 API).
final public static  SimplePropertyDescriptorMODIFIERS_PROPERTY
     The "modifiers" structural property of this node type (JLS2 API only).
final public static  ChildPropertyDescriptorNAME_PROPERTY
     The "name" structural property of this node type.
final public static  ChildListPropertyDescriptorPARAMETERS_PROPERTY
     The "parameters" structural property of this node type).
final public static  ChildPropertyDescriptorRETURN_TYPE2_PROPERTY
     The "returnType2" structural property of this node type (added in JLS3 API).
final public static  ChildPropertyDescriptorRETURN_TYPE_PROPERTY
     The "returnType" structural property of this node type (JLS2 API only).
final public static  ChildListPropertyDescriptorTHROWN_EXCEPTIONS_PROPERTY
     The "thrownExceptions" structural property of this node type).
final public static  ChildListPropertyDescriptorTYPE_PARAMETERS_PROPERTY
     The "typeParameters" structural property of this node type (added in JLS3 API).

Constructor Summary
 MethodDeclaration(AST ast)
     Creates a new AST node for a method declaration owned by the given AST.

Method Summary
 voidaccept0(ASTVisitor visitor)
    
 ASTNodeclone0(AST target)
    
public  BlockgetBody()
     Returns the body of this method declaration, or null if this method has no body.
public  intgetExtraDimensions()
     Returns the number of extra array dimensions over and above the explicitly-specified return type.

For example, int foo()[][] has a return type of int and two extra array dimensions; int[][] foo() has a return type of int[][] and zero extra array dimensions.

public  SimpleNamegetName()
     Returns the name of the method declared in this method declaration.
final  intgetNodeType0()
    
public  TypegetReturnType()
     Returns the return type of the method declared in this method declaration, exclusive of any extra array dimensions (JLS2 API only).
public  TypegetReturnType2()
     Returns the return type of the method declared in this method declaration, exclusive of any extra array dimensions (added in JLS3 API).
final  ListinternalGetChildListProperty(ChildListPropertyDescriptor property)
    
final  TypeinternalGetReturnType()
     Internal synonym for deprecated method.
final  booleaninternalGetSetBooleanProperty(SimplePropertyDescriptor property, boolean get, boolean value)
    
final  ASTNodeinternalGetSetChildProperty(ChildPropertyDescriptor property, boolean get, ASTNode child)
    
final  intinternalGetSetIntProperty(SimplePropertyDescriptor property, boolean get, int value)
    
final  ChildPropertyDescriptorinternalJavadocProperty()
    
final  ChildListPropertyDescriptorinternalModifiers2Property()
    
final  SimplePropertyDescriptorinternalModifiersProperty()
    
 voidinternalSetReturnType(Type type)
     Internal synonym for deprecated method.
final  ListinternalStructuralPropertiesForType(int apiLevel)
    
public  booleanisConstructor()
     Returns whether this declaration declares a constructor or a method.
public  booleanisVarargs()
     Returns whether this method declaration declares a variable arity method (added in JLS3 API).
 intmemSize()
    
public  Listparameters()
     Returns the live ordered list of method parameter declarations for this method declaration.
public static  ListpropertyDescriptors(int apiLevel)
     Returns a list of structural property descriptors for this node type.
public  IMethodBindingresolveBinding()
     Resolves and returns the binding for the method or constructor declared in this method or constructor declaration.
public  voidsetBody(Block body)
     Sets or clears the body of this method declaration.

Note that there is a subtle difference between having no body (as in "void foo();") and having an empty body (as in "void foo() {}").

public  voidsetConstructor(boolean isConstructor)
     Sets whether this declaration declares a constructor or a method.
public  voidsetExtraDimensions(int dimensions)
     Sets the number of extra array dimensions over and above the explicitly-specified return type.

For example, int foo()[][] is rendered as a return type of int with two extra array dimensions; int[][] foo() is rendered as a return type of int[][] with zero extra array dimensions.

public  voidsetName(SimpleName methodName)
     Sets the name of the method declared in this method declaration to the given name.
public  voidsetReturnType(Type type)
     Sets the return type of the method declared in this method declaration to the given type, exclusive of any extra array dimensions (JLS2 API only).
public  voidsetReturnType2(Type type)
     Sets the return type of the method declared in this method declaration to the given type, exclusive of any extra array dimensions (added in JLS3 API). This is one of the few places where the void type is meaningful.

Note that this child is not relevant for constructor declarations (although it does still figure in subtree equality comparisons and visits). In the JLS2 API, the return type is mandatory.

final  booleansubtreeMatch0(ASTMatcher matcher, Object other)
    
public  ListthrownExceptions()
     Returns the live ordered list of thrown exception names in this method declaration.
 inttreeSize()
    
public  ListtypeParameters()
     Returns the live ordered list of type parameters of this method declaration (added in JLS3 API).

Field Detail
BODY_PROPERTY
final public static ChildPropertyDescriptor BODY_PROPERTY(Code)
The "body" structural property of this node type.
since:
   3.0



CONSTRUCTOR_PROPERTY
final public static SimplePropertyDescriptor CONSTRUCTOR_PROPERTY(Code)
The "constructor" structural property of this node type.
since:
   3.0



EXTRA_DIMENSIONS_PROPERTY
final public static SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY(Code)
The "extraDimensions" structural property of this node type.
since:
   3.0



JAVADOC_PROPERTY
final public static ChildPropertyDescriptor JAVADOC_PROPERTY(Code)
The "javadoc" structural property of this node type.
since:
   3.0



MODIFIERS2_PROPERTY
final public static ChildListPropertyDescriptor MODIFIERS2_PROPERTY(Code)
The "modifiers" structural property of this node type (added in JLS3 API).
since:
   3.1



MODIFIERS_PROPERTY
final public static SimplePropertyDescriptor MODIFIERS_PROPERTY(Code)
The "modifiers" structural property of this node type (JLS2 API only).
since:
   3.0



NAME_PROPERTY
final public static ChildPropertyDescriptor NAME_PROPERTY(Code)
The "name" structural property of this node type.
since:
   3.0



PARAMETERS_PROPERTY
final public static ChildListPropertyDescriptor PARAMETERS_PROPERTY(Code)
The "parameters" structural property of this node type).
since:
   3.0



RETURN_TYPE2_PROPERTY
final public static ChildPropertyDescriptor RETURN_TYPE2_PROPERTY(Code)
The "returnType2" structural property of this node type (added in JLS3 API).
since:
   3.1



RETURN_TYPE_PROPERTY
final public static ChildPropertyDescriptor RETURN_TYPE_PROPERTY(Code)
The "returnType" structural property of this node type (JLS2 API only).
since:
   3.0



THROWN_EXCEPTIONS_PROPERTY
final public static ChildListPropertyDescriptor THROWN_EXCEPTIONS_PROPERTY(Code)
The "thrownExceptions" structural property of this node type).
since:
   3.0



TYPE_PARAMETERS_PROPERTY
final public static ChildListPropertyDescriptor TYPE_PARAMETERS_PROPERTY(Code)
The "typeParameters" structural property of this node type (added in JLS3 API).
since:
   3.1




Constructor Detail
MethodDeclaration
MethodDeclaration(AST ast)(Code)
Creates a new AST node for a method declaration owned by the given AST. By default, the declaration is for a method of an unspecified, but legal, name; no modifiers; no javadoc; no type parameters; void return type; no parameters; no array dimensions after the parameters; no thrown exceptions; and no body (as opposed to an empty body).

N.B. This constructor is package-private; all subclasses must be declared in the same package; clients are unable to declare additional subclasses.


Parameters:
  ast - the AST that is to own this node




Method Detail
accept0
void accept0(ASTVisitor visitor)(Code)



clone0
ASTNode clone0(AST target)(Code)



getBody
public Block getBody()(Code)
Returns the body of this method declaration, or null if this method has no body.

Note that there is a subtle difference between having no body and having an empty body ("{}").

the method body, or null if this method has nobody



getExtraDimensions
public int getExtraDimensions()(Code)
Returns the number of extra array dimensions over and above the explicitly-specified return type.

For example, int foo()[][] has a return type of int and two extra array dimensions; int[][] foo() has a return type of int[][] and zero extra array dimensions. The two constructs have different ASTs, even though there are really syntactic variants of the same method declaration.

the number of extra array dimensions
since:
   2.1



getName
public SimpleName getName()(Code)
Returns the name of the method declared in this method declaration. For a constructor declaration, this should be the same as the name of the class. the method name node



getNodeType0
final int getNodeType0()(Code)



getReturnType
public Type getReturnType()(Code)
Returns the return type of the method declared in this method declaration, exclusive of any extra array dimensions (JLS2 API only). This is one of the few places where the void type is meaningful.

Note that this child is not relevant for constructor declarations (although, it does still figure in subtree equality comparisons and visits), and is devoid of the binding information ordinarily available.

the return type, possibly the void primitive type
exception:
  UnsupportedOperationException - if this operation is used inan AST later than JLS2MethodDeclaration.getReturnType2()



getReturnType2
public Type getReturnType2()(Code)
Returns the return type of the method declared in this method declaration, exclusive of any extra array dimensions (added in JLS3 API). This is one of the few places where the void type is meaningful.

Note that this child is not relevant for constructor declarations (although, if present, it does still figure in subtree equality comparisons and visits), and is devoid of the binding information ordinarily available. In the JLS2 API, the return type is mandatory. In the JLS3 API, the return type is optional.

the return type, possibly the void primitive type,or null if none
exception:
  UnsupportedOperationException - if this operation is used ina JLS2 AST
since:
   3.1



internalGetChildListProperty
final List internalGetChildListProperty(ChildListPropertyDescriptor property)(Code)



internalGetReturnType
final Type internalGetReturnType()(Code)
Internal synonym for deprecated method. Used to avoid deprecation warnings.
since:
   3.1



internalGetSetBooleanProperty
final boolean internalGetSetBooleanProperty(SimplePropertyDescriptor property, boolean get, boolean value)(Code)



internalGetSetChildProperty
final ASTNode internalGetSetChildProperty(ChildPropertyDescriptor property, boolean get, ASTNode child)(Code)



internalGetSetIntProperty
final int internalGetSetIntProperty(SimplePropertyDescriptor property, boolean get, int value)(Code)



internalJavadocProperty
final ChildPropertyDescriptor internalJavadocProperty()(Code)



internalModifiers2Property
final ChildListPropertyDescriptor internalModifiers2Property()(Code)



internalModifiersProperty
final SimplePropertyDescriptor internalModifiersProperty()(Code)



internalSetReturnType
void internalSetReturnType(Type type)(Code)
Internal synonym for deprecated method. Used to avoid deprecation warnings.
since:
   3.1



internalStructuralPropertiesForType
final List internalStructuralPropertiesForType(int apiLevel)(Code)



isConstructor
public boolean isConstructor()(Code)
Returns whether this declaration declares a constructor or a method. true if this is a constructor declaration,and false if this is a method declaration



isVarargs
public boolean isVarargs()(Code)
Returns whether this method declaration declares a variable arity method (added in JLS3 API). The convenience method checks whether the last parameter is so marked. true if this is a variable arity method declaration,and false otherwise
exception:
  UnsupportedOperationException - if this operation is used ina JLS2 AST
See Also:   SingleVariableDeclaration.isVarargs
since:
   3.1



memSize
int memSize()(Code)



parameters
public List parameters()(Code)
Returns the live ordered list of method parameter declarations for this method declaration. the live list of method parameter declarations(element type: SingleVariableDeclaration)



propertyDescriptors
public static List propertyDescriptors(int apiLevel)(Code)
Returns a list of structural property descriptors for this node type. Clients must not modify the result.
Parameters:
  apiLevel - the API level; one of the AST.JLS* constants a list of property descriptors (element type: StructuralPropertyDescriptor)
since:
   3.0



resolveBinding
public IMethodBinding resolveBinding()(Code)
Resolves and returns the binding for the method or constructor declared in this method or constructor declaration.

Note that bindings are generally unavailable unless requested when the AST is being built.

the binding, or null if the binding cannot be resolved



setBody
public void setBody(Block body)(Code)
Sets or clears the body of this method declaration.

Note that there is a subtle difference between having no body (as in "void foo();") and having an empty body (as in "void foo() {}"). Abstract methods, and methods declared in interfaces, have no body. Non-abstract methods, and all constructors, have a body.


Parameters:
  body - the block node, or null if there is none
exception:
  IllegalArgumentException - if:
  • the node belongs to a different AST
  • the node already has a parent
  • a cycle in would be created



setConstructor
public void setConstructor(boolean isConstructor)(Code)
Sets whether this declaration declares a constructor or a method.
Parameters:
  isConstructor - true for a constructor declaration,and false for a method declaration



setExtraDimensions
public void setExtraDimensions(int dimensions)(Code)
Sets the number of extra array dimensions over and above the explicitly-specified return type.

For example, int foo()[][] is rendered as a return type of int with two extra array dimensions; int[][] foo() is rendered as a return type of int[][] with zero extra array dimensions. The two constructs have different ASTs, even though there are really syntactic variants of the same method declaration.


Parameters:
  dimensions - the number of array dimensions
exception:
  IllegalArgumentException - if the number of dimensions isnegative
since:
   2.1



setName
public void setName(SimpleName methodName)(Code)
Sets the name of the method declared in this method declaration to the given name. For a constructor declaration, this should be the same as the name of the class.
Parameters:
  methodName - the new method name
exception:
  IllegalArgumentException - if:
  • the node belongs to a different AST
  • the node already has a parent



setReturnType
public void setReturnType(Type type)(Code)
Sets the return type of the method declared in this method declaration to the given type, exclusive of any extra array dimensions (JLS2 API only). This is one of the few places where the void type is meaningful.

Note that this child is not relevant for constructor declarations (although it does still figure in subtree equality comparisons and visits).


Parameters:
  type - the new return type, possibly the void primitive type
exception:
  IllegalArgumentException - if:
  • the node belongs to a different AST
  • the node already has a parent

exception:
  UnsupportedOperationException - if this operation is used inan AST later than JLS2MethodDeclaration.setReturnType2(Type)



setReturnType2
public void setReturnType2(Type type)(Code)
Sets the return type of the method declared in this method declaration to the given type, exclusive of any extra array dimensions (added in JLS3 API). This is one of the few places where the void type is meaningful.

Note that this child is not relevant for constructor declarations (although it does still figure in subtree equality comparisons and visits). In the JLS2 API, the return type is mandatory. In the JLS3 API, the return type is optional.


Parameters:
  type - the new return type, possibly the void primitive type,or null if none
exception:
  UnsupportedOperationException - if this operation is used ina JLS2 AST
exception:
  IllegalArgumentException - if:
  • the node belongs to a different AST
  • the node already has a parent

since:
   3.1



subtreeMatch0
final boolean subtreeMatch0(ASTMatcher matcher, Object other)(Code)



thrownExceptions
public List thrownExceptions()(Code)
Returns the live ordered list of thrown exception names in this method declaration. the live list of exception names(element type: Name)



treeSize
int treeSize()(Code)



typeParameters
public List typeParameters()(Code)
Returns the live ordered list of type parameters of this method declaration (added in JLS3 API). This list is non-empty for parameterized methods. the live list of type parameters(element type: TypeParameter)
exception:
  UnsupportedOperationException - if this operation is used ina JLS2 AST
since:
   3.1



Fields inherited from org.eclipse.jdt.core.dom.BodyDeclaration
ASTNode.NodeList modifiers(Code)(Java Doc)
Javadoc optionalDocComment(Code)(Java Doc)

Methods inherited from org.eclipse.jdt.core.dom.BodyDeclaration
public Javadoc getJavadoc()(Code)(Java Doc)
final public ChildPropertyDescriptor getJavadocProperty()(Code)(Java Doc)
public int getModifiers()(Code)(Java Doc)
final public ChildListPropertyDescriptor getModifiersProperty()(Code)(Java Doc)
abstract ChildPropertyDescriptor internalJavadocProperty()(Code)(Java Doc)
final static ChildPropertyDescriptor internalJavadocPropertyFactory(Class nodeClass)(Code)(Java Doc)
abstract ChildListPropertyDescriptor internalModifiers2Property()(Code)(Java Doc)
final static ChildListPropertyDescriptor internalModifiers2PropertyFactory(Class nodeClass)(Code)(Java Doc)
abstract SimplePropertyDescriptor internalModifiersProperty()(Code)(Java Doc)
final static SimplePropertyDescriptor internalModifiersPropertyFactory(Class nodeClass)(Code)(Java Doc)
final void internalSetModifiers(int pmodifiers)(Code)(Java Doc)
int memSize()(Code)(Java Doc)
public List modifiers()(Code)(Java Doc)
public void setJavadoc(Javadoc docComment)(Code)(Java Doc)
public void setModifiers(int modifiers)(Code)(Java Doc)

Fields inherited from org.eclipse.jdt.core.dom.ASTNode
final public static int ANNOTATION_TYPE_DECLARATION(Code)(Java Doc)
final public static int ANNOTATION_TYPE_MEMBER_DECLARATION(Code)(Java Doc)
final public static int ANONYMOUS_CLASS_DECLARATION(Code)(Java Doc)
final public static int ARRAY_ACCESS(Code)(Java Doc)
final public static int ARRAY_CREATION(Code)(Java Doc)
final public static int ARRAY_INITIALIZER(Code)(Java Doc)
final public static int ARRAY_TYPE(Code)(Java Doc)
final public static int ASSERT_STATEMENT(Code)(Java Doc)
final public static int ASSIGNMENT(Code)(Java Doc)
final static int BASE_NODE_SIZE(Code)(Java Doc)
final public static int BLOCK(Code)(Java Doc)
final public static int BLOCK_COMMENT(Code)(Java Doc)
final public static int BOOLEAN_LITERAL(Code)(Java Doc)
final public static int BREAK_STATEMENT(Code)(Java Doc)
final public static int CAST_EXPRESSION(Code)(Java Doc)
final public static int CATCH_CLAUSE(Code)(Java Doc)
final public static int CHARACTER_LITERAL(Code)(Java Doc)
final public static int CLASS_INSTANCE_CREATION(Code)(Java Doc)
final public static int COMPILATION_UNIT(Code)(Java Doc)
final public static int CONDITIONAL_EXPRESSION(Code)(Java Doc)
final public static int CONSTRUCTOR_INVOCATION(Code)(Java Doc)
final public static int CONTINUE_STATEMENT(Code)(Java Doc)
final static boolean CYCLE_RISK(Code)(Java Doc)
final public static int DO_STATEMENT(Code)(Java Doc)
final public static int EMPTY_STATEMENT(Code)(Java Doc)
final public static int ENHANCED_FOR_STATEMENT(Code)(Java Doc)
final public static int ENUM_CONSTANT_DECLARATION(Code)(Java Doc)
final public static int ENUM_DECLARATION(Code)(Java Doc)
final public static int EXPRESSION_STATEMENT(Code)(Java Doc)
final public static int FIELD_ACCESS(Code)(Java Doc)
final public static int FIELD_DECLARATION(Code)(Java Doc)
final public static int FOR_STATEMENT(Code)(Java Doc)
final static int HEADERS(Code)(Java Doc)
final public static int IF_STATEMENT(Code)(Java Doc)
final public static int IMPORT_DECLARATION(Code)(Java Doc)
final public static int INFIX_EXPRESSION(Code)(Java Doc)
final public static int INITIALIZER(Code)(Java Doc)
final public static int INSTANCEOF_EXPRESSION(Code)(Java Doc)
final public static int JAVADOC(Code)(Java Doc)
final public static int LABELED_STATEMENT(Code)(Java Doc)
final public static int LINE_COMMENT(Code)(Java Doc)
final public static int MALFORMED(Code)(Java Doc)
final static boolean MANDATORY(Code)(Java Doc)
final public static int MARKER_ANNOTATION(Code)(Java Doc)
final public static int MEMBER_REF(Code)(Java Doc)
final public static int MEMBER_VALUE_PAIR(Code)(Java Doc)
final public static int METHOD_DECLARATION(Code)(Java Doc)
final public static int METHOD_INVOCATION(Code)(Java Doc)
final public static int METHOD_REF(Code)(Java Doc)
final public static int METHOD_REF_PARAMETER(Code)(Java Doc)
final public static int MODIFIER(Code)(Java Doc)
final public static int NORMAL_ANNOTATION(Code)(Java Doc)
final static boolean NO_CYCLE_RISK(Code)(Java Doc)
final public static int NULL_LITERAL(Code)(Java Doc)
final public static int NUMBER_LITERAL(Code)(Java Doc)
final static boolean OPTIONAL(Code)(Java Doc)
final public static int ORIGINAL(Code)(Java Doc)
final public static int PACKAGE_DECLARATION(Code)(Java Doc)
final public static int PARAMETERIZED_TYPE(Code)(Java Doc)
final public static int PARENTHESIZED_EXPRESSION(Code)(Java Doc)
final public static int POSTFIX_EXPRESSION(Code)(Java Doc)
final public static int PREFIX_EXPRESSION(Code)(Java Doc)
final public static int PRIMITIVE_TYPE(Code)(Java Doc)
final public static int PROTECT(Code)(Java Doc)
final public static int QUALIFIED_NAME(Code)(Java Doc)
final public static int QUALIFIED_TYPE(Code)(Java Doc)
final public static int RECOVERED(Code)(Java Doc)
final public static int RETURN_STATEMENT(Code)(Java Doc)
final public static int SIMPLE_NAME(Code)(Java Doc)
final public static int SIMPLE_TYPE(Code)(Java Doc)
final public static int SINGLE_MEMBER_ANNOTATION(Code)(Java Doc)
final public static int SINGLE_VARIABLE_DECLARATION(Code)(Java Doc)
final public static int STRING_LITERAL(Code)(Java Doc)
final public static int SUPER_CONSTRUCTOR_INVOCATION(Code)(Java Doc)
final public static int SUPER_FIELD_ACCESS(Code)(Java Doc)
final public static int SUPER_METHOD_INVOCATION(Code)(Java Doc)
final public static int SWITCH_CASE(Code)(Java Doc)
final public static int SWITCH_STATEMENT(Code)(Java Doc)
final public static int SYNCHRONIZED_STATEMENT(Code)(Java Doc)
final public static int TAG_ELEMENT(Code)(Java Doc)
final public static int TEXT_ELEMENT(Code)(Java Doc)
final public static int THIS_EXPRESSION(Code)(Java Doc)
final public static int THROW_STATEMENT(Code)(Java Doc)
final public static int TRY_STATEMENT(Code)(Java Doc)
final public static int TYPE_DECLARATION(Code)(Java Doc)
final public static int TYPE_DECLARATION_STATEMENT(Code)(Java Doc)
final public static int TYPE_LITERAL(Code)(Java Doc)
final public static int TYPE_PARAMETER(Code)(Java Doc)
final public static int VARIABLE_DECLARATION_EXPRESSION(Code)(Java Doc)
final public static int VARIABLE_DECLARATION_FRAGMENT(Code)(Java Doc)
final public static int VARIABLE_DECLARATION_STATEMENT(Code)(Java Doc)
final public static int WHILE_STATEMENT(Code)(Java Doc)
final public static int WILDCARD_TYPE(Code)(Java Doc)
final AST ast(Code)(Java Doc)
int typeAndFlags(Code)(Java Doc)

Methods inherited from org.eclipse.jdt.core.dom.ASTNode
final public void accept(ASTVisitor visitor)(Code)(Java Doc)
abstract void accept0(ASTVisitor visitor)(Code)(Java Doc)
final void acceptChild(ASTVisitor visitor, ASTNode child)(Code)(Java Doc)
final void acceptChildren(ASTVisitor visitor, ASTNode.NodeList children)(Code)(Java Doc)
static void addProperty(StructuralPropertyDescriptor property, List propertyList)(Code)(Java Doc)
void appendDebugString(StringBuffer buffer)(Code)(Java Doc)
final void appendPrintString(StringBuffer buffer)(Code)(Java Doc)
final void checkModifiable()(Code)(Java Doc)
static void checkNewChild(ASTNode node, ASTNode newChild, boolean cycleCheck, Class nodeType)(Code)(Java Doc)
final ASTNode clone(AST target)(Code)(Java Doc)
abstract ASTNode clone0(AST target)(Code)(Java Doc)
public static ASTNode copySubtree(AST target, ASTNode node)(Code)(Java Doc)
public static List copySubtrees(AST target, List nodes)(Code)(Java Doc)
static void createPropertyList(Class nodeClass, List propertyList)(Code)(Java Doc)
final public void delete()(Code)(Java Doc)
final public boolean equals(Object obj)(Code)(Java Doc)
final public AST getAST()(Code)(Java Doc)
final public int getFlags()(Code)(Java Doc)
final public int getLength()(Code)(Java Doc)
final public StructuralPropertyDescriptor getLocationInParent()(Code)(Java Doc)
final public int getNodeType()(Code)(Java Doc)
abstract int getNodeType0()(Code)(Java Doc)
final public ASTNode getParent()(Code)(Java Doc)
final public Object getProperty(String propertyName)(Code)(Java Doc)
final public ASTNode getRoot()(Code)(Java Doc)
final public int getStartPosition()(Code)(Java Doc)
final public Object getStructuralProperty(StructuralPropertyDescriptor property)(Code)(Java Doc)
final public int hashCode()(Code)(Java Doc)
List internalGetChildListProperty(ChildListPropertyDescriptor property)(Code)(Java Doc)
boolean internalGetSetBooleanProperty(SimplePropertyDescriptor property, boolean get, boolean value)(Code)(Java Doc)
ASTNode internalGetSetChildProperty(ChildPropertyDescriptor property, boolean get, ASTNode child)(Code)(Java Doc)
int internalGetSetIntProperty(SimplePropertyDescriptor property, boolean get, int value)(Code)(Java Doc)
Object internalGetSetObjectProperty(SimplePropertyDescriptor property, boolean get, Object value)(Code)(Java Doc)
abstract List internalStructuralPropertiesForType(int apiLevel)(Code)(Java Doc)
abstract int memSize()(Code)(Java Doc)
public static Class nodeClassForType(int nodeType)(Code)(Java Doc)
final void postLazyInit(ASTNode newChild, ChildPropertyDescriptor property)(Code)(Java Doc)
final void postReplaceChild(ASTNode oldChild, ASTNode newChild, ChildPropertyDescriptor property)(Code)(Java Doc)
final void postValueChange(SimplePropertyDescriptor property)(Code)(Java Doc)
final void preLazyInit()(Code)(Java Doc)
final void preReplaceChild(ASTNode oldChild, ASTNode newChild, ChildPropertyDescriptor property)(Code)(Java Doc)
final void preValueChange(SimplePropertyDescriptor property)(Code)(Java Doc)
final public Map properties()(Code)(Java Doc)
static List reapPropertyList(List propertyList)(Code)(Java Doc)
final public void setFlags(int flags)(Code)(Java Doc)
final void setParent(ASTNode parent, StructuralPropertyDescriptor property)(Code)(Java Doc)
final public void setProperty(String propertyName, Object data)(Code)(Java Doc)
final public void setSourceRange(int startPosition, int length)(Code)(Java Doc)
final public void setStructuralProperty(StructuralPropertyDescriptor property, Object value)(Code)(Java Doc)
final String standardToString()(Code)(Java Doc)
static int stringSize(String string)(Code)(Java Doc)
final public List structuralPropertiesForType()(Code)(Java Doc)
final public int subtreeBytes()(Code)(Java Doc)
final public boolean subtreeMatch(ASTMatcher matcher, Object other)(Code)(Java Doc)
abstract boolean subtreeMatch0(ASTMatcher matcher, Object other)(Code)(Java Doc)
final void supportedOnlyIn2()(Code)(Java Doc)
final public String toString()(Code)(Java Doc)
abstract int treeSize()(Code)(Java Doc)
final void unsupportedIn2()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.