Java Doc for MethodReferenceMatch.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » core » search » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdt.core.search 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdt.core.search.SearchMatch
      org.eclipse.jdt.core.search.MethodReferenceMatch

MethodReferenceMatch
public class MethodReferenceMatch extends SearchMatch (Code)
A Java search match that represents a method reference. The element is the inner-most enclosing member that references this method.

This class is intended to be instantiated and subclassed by clients.


since:
   3.0



Constructor Summary
public  MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
     Creates a new method reference match.
public  MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean synthetic, boolean insideDocComment, SearchParticipant participant, IResource resource)
     Creates a new method reference match.
public  MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean synthetic, boolean superInvocation, boolean insideDocComment, SearchParticipant participant, IResource resource)
     Creates a new method reference match.

Method Summary
final public  booleanisConstructor()
     Returns whether the reference is on a constructor.
public  booleanisSuperInvocation()
     Returns whether the reference is on a message sent from a type which is a super type of the searched method declaring type.
final public  booleanisSynthetic()
     Returns whether the reference is on a synthetic element. Note that this field is only used for constructor reference.


Constructor Detail
MethodReferenceMatch
public MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)(Code)
Creates a new method reference match.
Parameters:
  enclosingElement - the inner-most enclosing member that references this method
Parameters:
  accuracy - one of MethodReferenceMatch.A_ACCURATE or MethodReferenceMatch.A_INACCURATE
Parameters:
  offset - the offset the match starts at, or -1 if unknown
Parameters:
  length - the length of the match, or -1 if unknown
Parameters:
  insideDocComment - true if this search match is inside a doccomment, and false otherwise
Parameters:
  participant - the search participant that created the match
Parameters:
  resource - the resource of the element



MethodReferenceMatch
public MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean synthetic, boolean insideDocComment, SearchParticipant participant, IResource resource)(Code)
Creates a new method reference match.
Parameters:
  enclosingElement - the inner-most enclosing member that references this method
Parameters:
  accuracy - one of MethodReferenceMatch.A_ACCURATE or MethodReferenceMatch.A_INACCURATE
Parameters:
  offset - the offset the match starts at, or -1 if unknown
Parameters:
  length - the length of the match, or -1 if unknown
Parameters:
  constructor - true if this search match a constructorfalse otherwise
Parameters:
  synthetic - true if this search match a synthetic elementfalse otherwise
Parameters:
  insideDocComment - true if this search match is inside a doccomment, and false otherwise
Parameters:
  participant - the search participant that created the match
Parameters:
  resource - the resource of the element
since:
   3.1



MethodReferenceMatch
public MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean synthetic, boolean superInvocation, boolean insideDocComment, SearchParticipant participant, IResource resource)(Code)
Creates a new method reference match.
Parameters:
  enclosingElement - the inner-most enclosing member that references this method
Parameters:
  accuracy - one of MethodReferenceMatch.A_ACCURATE or MethodReferenceMatch.A_INACCURATE
Parameters:
  offset - the offset the match starts at, or -1 if unknown
Parameters:
  length - the length of the match, or -1 if unknown
Parameters:
  constructor - true if this search matches a constructorfalse otherwise
Parameters:
  synthetic - true if this search matches a synthetic elementfalse otherwise
Parameters:
  superInvocation - true if this search matches a super-type invocationelement false otherwise
Parameters:
  insideDocComment - true if this search match is inside a doccomment, and false otherwise
Parameters:
  participant - the search participant that created the match
Parameters:
  resource - the resource of the element
since:
   3.3




Method Detail
isConstructor
final public boolean isConstructor()(Code)
Returns whether the reference is on a constructor. Returns whether the reference is on a constructor or not.
since:
   3.1



isSuperInvocation
public boolean isSuperInvocation()(Code)
Returns whether the reference is on a message sent from a type which is a super type of the searched method declaring type. If true, the method called at run-time may or may not be the search target, depending on the run-time type of the receiver object. true if the reference is on a message sent froma super-type of the searched method declaring class, false otherwise
since:
   3.3



isSynthetic
final public boolean isSynthetic()(Code)
Returns whether the reference is on a synthetic element. Note that this field is only used for constructor reference. This happens when default constructor declaration is used or implicit super constructor is called. whether the reference is synthetic or not.
since:
   3.1



Fields inherited from org.eclipse.jdt.core.search.SearchMatch
final public static int A_ACCURATE(Code)(Java Doc)
final public static int A_INACCURATE(Code)(Java Doc)

Methods inherited from org.eclipse.jdt.core.search.SearchMatch
final public int getAccuracy()(Code)(Java Doc)
final public Object getElement()(Code)(Java Doc)
final public int getLength()(Code)(Java Doc)
final public int getOffset()(Code)(Java Doc)
final public SearchParticipant getParticipant()(Code)(Java Doc)
final public IResource getResource()(Code)(Java Doc)
final public int getRule()(Code)(Java Doc)
final public boolean isEquivalent()(Code)(Java Doc)
final public boolean isErasure()(Code)(Java Doc)
final public boolean isExact()(Code)(Java Doc)
final public boolean isImplicit()(Code)(Java Doc)
final public boolean isInsideDocComment()(Code)(Java Doc)
final public boolean isRaw()(Code)(Java Doc)
final public void setAccuracy(int accuracy)(Code)(Java Doc)
final public void setElement(Object element)(Code)(Java Doc)
final public void setImplicit(boolean implicit)(Code)(Java Doc)
final public void setInsideDocComment(boolean insideDoc)(Code)(Java Doc)
final public void setLength(int length)(Code)(Java Doc)
final public void setOffset(int offset)(Code)(Java Doc)
final public void setParticipant(SearchParticipant participant)(Code)(Java Doc)
final public void setRaw(boolean raw)(Code)(Java Doc)
final public void setResource(IResource resource)(Code)(Java Doc)
final public void setRule(int rule)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.