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.core.refactoring.descriptors |
Application programming interface to access Java refactorings provided by JDT.
|
org.eclipse.jdt.core.refactoring.participants |
Application programming interface to access refactoring participants provided by JDT.
|
org.eclipse.jdt.junit.wizards |
Application programming interfaces to implement wizards to create new JUnit testcases.
|
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 |
---|---|
IMethod |
IntroduceParameterObjectDescriptor.getMethod()
The method the refactoring will operate on.
|
Modifier and Type | Method and Description |
---|---|
static IntroduceParameterObjectDescriptor.Parameter[] |
IntroduceParameterObjectDescriptor.createParameters(IMethod method)
Creates the parameters for this method.
|
void |
IntroduceParameterObjectDescriptor.setMethod(IMethod method)
Sets the method.
|
Modifier and Type | Method and Description |
---|---|
static ChangeMethodSignatureParticipant[] |
JavaParticipantManager.loadChangeMethodSignatureParticipants(RefactoringStatus status,
RefactoringProcessor processor,
IMethod method,
ChangeMethodSignatureArguments arguments,
IParticipantDescriptorFilter filter,
String[] affectedNatures,
SharableParticipants shared)
Loads the change method signature participants for the given element.
|
Modifier and Type | Method and Description |
---|---|
IMethod[] |
NewTestCaseWizardPageTwo.getAllMethods()
Returns all the methods in the methods tree.
|
IMethod[] |
NewTestCaseWizardPageTwo.getCheckedMethods()
Returns all checked methods in the methods tree.
|
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 . |
static void |
JavaElementLabels.getMethodLabel(IMethod method,
long flags,
StyledString result)
Appends the label for a method to a
StyledString . |
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) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.