Package | Description |
---|---|
org.eclipse.jdt.core |
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
|
org.eclipse.jdt.ui |
Application programming interfaces for interaction
with the Eclipse Java User Interface.
|
org.eclipse.jdt.ui.actions |
Application programming interfaces for Eclipse Java User Interface specific
actions.
|
org.eclipse.jdt.ui.refactoring |
Application programming interfaces for rename refactorings.
|
org.eclipse.jdt.ui.wizards |
Application programming interfaces for interaction
with the Eclipse Java User Interface wizards.
|
Modifier and Type | Method and Description |
---|---|
IMethod |
IType.createMethod(String contents,
IJavaElement sibling,
boolean force,
IProgressMonitor monitor)
Creates and returns a method or constructor in this type with the
given contents.
|
IMethod[] |
IType.findMethods(IMethod method)
Finds the methods in this type that correspond to
the given method.
|
IMethod |
IType.getMethod(String name,
String[] parameterTypeSignatures)
Returns the method with the specified name and parameter types
in this type (for example,
"foo", {"I", "QString;"} ). |
IMethod[] |
IType.getMethods()
Returns the methods and constructors declared by this type.
|
Modifier and Type | Method and Description |
---|---|
IMethod[] |
IType.findMethods(IMethod method)
Finds the methods in this type that correspond to
the given method.
|
boolean |
IMethod.isSimilar(IMethod method)
Returns whether this method is similar to the given method.
|
Modifier and Type | Method and Description |
---|---|
static String |
CodeGeneration.getMethodComment(ICompilationUnit cu,
String declaringTypeName,
String methodName,
String[] paramNames,
String[] excTypeSig,
String retTypeSig,
IMethod overridden,
String lineDelimiter)
Returns the comment for a method or constructor using the comment code templates (constructor / method / overriding method).
|
static String |
CodeGeneration.getMethodComment(ICompilationUnit cu,
String declaringTypeName,
String methodName,
String[] paramNames,
String[] excTypeSig,
String retTypeSig,
String[] typeParameterNames,
IMethod overridden,
String lineDelimiter)
Returns the comment for a method or constructor using the comment code templates (constructor / method / overriding method).
|
static String |
CodeGeneration.getMethodComment(IMethod method,
IMethod overridden,
String lineDelimiter)
Returns the comment for a method or constructor using the comment code templates (constructor / method / overriding method).
|
static void |
JavaElementLabels.getMethodLabel(IMethod method,
long flags,
StringBuffer buf)
Appends the label for a method to a
StringBuffer . |
protected int |
OverrideIndicatorLabelDecorator.getOverrideIndicators(IMethod method)
Note: This method is for internal use only.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenSuperImplementationAction.run(IMethod method) |
Modifier and Type | Method and Description |
---|---|
static RenameSupport |
RenameSupport.create(IMethod method,
String newName,
int flags)
Creates a new rename support for the given
IMethod . |
Modifier and Type | Method and Description |
---|---|
protected IMethod[] |
NewTypeWizardPage.createInheritedMethods(IType type,
boolean doConstructors,
boolean doUnimplementedMethods,
NewTypeWizardPage.ImportsManager imports,
IProgressMonitor monitor)
Creates the bodies of all unimplemented methods and constructors and adds them to the type.
|
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.