Package | Description |
---|---|
com.sun.mirror.declaration |
Interfaces used to model program element declarations.
|
com.sun.mirror.util |
Utilities to assist in the processing of declarations and types.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationTypeElementDeclaration
Represents an element of an annotation type.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends MethodDeclaration> |
TypeDeclaration.getMethods()
Returns the methods that are directly declared by this class or
interface.
|
Collection<MethodDeclaration> |
ClassDeclaration.getMethods()
Returns the methods that are directly declared by this class or
interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Declarations.overrides(MethodDeclaration sub,
MethodDeclaration sup)
Tests whether one method overrides another.
|
void |
DeclarationVisitor.visitMethodDeclaration(MethodDeclaration d)
Visits a method declaration.
|
void |
SimpleDeclarationVisitor.visitMethodDeclaration(MethodDeclaration d)
Visits a method declaration.
|
Copyright © 2004, 2014, Oracle and/or its affiliates. All rights reserved.