Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

javax.ide.model.java.declaration
Interface ExecutableD

All Superinterfaces:
Declaration, GenericD, HasAnnotationsD, MemberD
All Known Subinterfaces:
ConstructorD, MethodD

public interface ExecutableD
extends MemberD, GenericD, HasAnnotationsD

Common supertype for constructor and method declarations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.ide.model.java.declaration.Declaration
Declaration.DeclarationKind
 
Method Summary
 java.util.Collection getExceptionTypes()
          Gets the checked exception types.
 java.util.Collection getParameters()
          Gets the formal parameters, including synthetic ones.
 java.util.Collection getParameterTypes()
          Gets the formal parameter types, including synthetic ones.
 boolean isVarArgs()
          True if this method takes a variable number of arguments.
 
Methods inherited from interface javax.ide.model.java.declaration.GenericD
getTypeParameters
 
Methods inherited from interface javax.ide.model.java.declaration.MemberD
getEnclosingClass, getModifiers, isFinal, isPrivate, isProtected, isPublic, isStatic
 
Methods inherited from interface javax.ide.model.java.declaration.Declaration
getDeclarationKind, getPosition, isSynthetic
 
Methods inherited from interface javax.ide.model.java.declaration.HasAnnotationsD
getAnnotations
 

Method Detail

isVarArgs

boolean isVarArgs()
True if this method takes a variable number of arguments.

Returns:
True if this method takes a variable number of arguments.

getParameters

java.util.Collection getParameters()
Gets the formal parameters, including synthetic ones.

Returns:
The collection of parameter declarations for the formal parameters of this method, including the synthetic this$0.

Collection of ParameterDs.


getParameterTypes

java.util.Collection getParameterTypes()
Gets the formal parameter types, including synthetic ones.

Returns:
The collection of type declarations for the types of the formal parameters of this method, including the synthetic this$0.

Collection of TypeDs.


getExceptionTypes

java.util.Collection getExceptionTypes()
Gets the checked exception types. Note that, like reflection, all declared checked exceptions are listed, even RuntimeException subtypes.

Returns:
The collection of type declarations for the checked exceptions.

Collection of TypeDs.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.