Uses of Interface
org.eclipse.jdt.core.IMethod
Package
Description
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
Application programming interface for the JDT core manipulation plug-in class.
Application programming interface to access Java refactorings provided by JDT.
Application programming interface to access refactoring participants provided by JDT.
Provides support for searching the workspace Java
elements that match a particular description.
Application programming interfaces to implement wizards to create new JUnit testcases.
Application programming interfaces for interaction
with the Eclipse Java User Interface.
Application programming interfaces for Eclipse Java User Interface specific
actions.
Application programming interfaces for rename refactorings.
Application programming interfaces for interaction
with the Eclipse Java User Interface wizards.
-
Uses of IMethod in org.eclipse.jdt.core
Modifier and TypeMethodDescriptionIType.createMethod
(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.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.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 TypeMethodDescriptionIMethod[]
IType.findMethods
(IMethod method) Finds the methods in this type that correspond to the given method.boolean
Returns whether this method is similar to the given method. -
Uses of IMethod in org.eclipse.jdt.core.manipulation
Modifier and TypeMethodDescriptionstatic 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
(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
(IMethod method, IMethod overridden, String lineDelimiter) Returns the comment for a method or constructor using the comment code templates (constructor / method / overriding method). -
Uses of IMethod in org.eclipse.jdt.core.refactoring.descriptors
Modifier and TypeMethodDescriptionIntroduceParameterObjectDescriptor.getMethod()
The method the refactoring will operate on.Modifier and TypeMethodDescriptionIntroduceParameterObjectDescriptor.createParameters
(IMethod method) Creates the parameters for this method.void
Sets the method. -
Uses of IMethod in org.eclipse.jdt.core.refactoring.participants
Modifier and TypeMethodDescriptionstatic ChangeMethodSignatureParticipant[]
JavaParticipantManager.loadChangeMethodSignatureParticipants
(org.eclipse.ltk.core.refactoring.RefactoringStatus status, org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor processor, IMethod method, ChangeMethodSignatureArguments arguments, org.eclipse.ltk.core.refactoring.participants.IParticipantDescriptorFilter filter, String[] affectedNatures, org.eclipse.ltk.core.refactoring.participants.SharableParticipants shared) Loads the change method signature participants for the given element. -
Uses of IMethod in org.eclipse.jdt.core.search
Modifier and TypeMethodDescriptionabstract IMethod
MethodNameMatch.getMethod()
Returns a java model method handle.Modifier and TypeMethodDescriptionstatic MethodNameMatch
SearchEngine.createMethodNameMatch
(IMethod method, int modifiers) Create a method name match on a given method with specific modifiers. -
Uses of IMethod in org.eclipse.jdt.junit.wizards
Modifier and TypeMethodDescriptionIMethod[]
NewTestCaseWizardPageTwo.getAllMethods()
Returns all the methods in the methods tree.IMethod[]
NewTestCaseWizardPageTwo.getCheckedMethods()
Returns all checked methods in the methods tree. -
Uses of IMethod in org.eclipse.jdt.ui
Modifier and TypeMethodDescriptionstatic String
CodeGeneration.getMethodComment
(ICompilationUnit cu, String declaringTypeName, String methodName, String[] paramNames, String[] excTypeSig, String retTypeSig, String[] typeParameterNames, IMethod overridden, String lineDelimiter) Deprecated.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, IMethod overridden, String lineDelimiter) Deprecated.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) Deprecated.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 aStringBuffer
.static void
JavaElementLabels.getMethodLabel
(IMethod method, long flags, org.eclipse.jface.viewers.StyledString result) Appends the label for a method to aStyledString
.protected int
OverrideIndicatorLabelDecorator.getOverrideIndicators
(IMethod method) Note: This method is for internal use only. -
Uses of IMethod in org.eclipse.jdt.ui.actions
-
Uses of IMethod in org.eclipse.jdt.ui.refactoring
Modifier and TypeMethodDescriptionstatic RenameSupport
Creates a new rename support for the givenIMethod
. -
Uses of IMethod in org.eclipse.jdt.ui.wizards
Modifier and TypeMethodDescriptionprotected IMethod[]
NewTypeWizardPage.createInheritedMethods
(IType type, boolean doConstructors, boolean doUnimplementedMethods, NewTypeWizardPage.ImportsManager imports, org.eclipse.core.runtime.IProgressMonitor monitor) Creates the bodies of all unimplemented methods and constructors and adds them to the type.protected IMethod
NewTypeWizardPage.createMainMethod
(IType type, NewTypeWizardPage.ImportsManager imports) Creates the stub for 'public static void main(String[] args)' method