|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openide.src.ConstructorElement.Key
org.openide.src.MethodElement.Key
A key for method elements, for use in hash tables etc.
| Constructor Summary | |
MethodElement.Key(Identifier name,
Type[] params)
Constructs a key by name and parameters. |
|
MethodElement.Key(Identifier name,
Type[] params,
Type returnType)
Constructs a key that checks also a return type of the method. |
|
MethodElement.Key(MethodElement me)
Constructs a key for a method. |
|
MethodElement.Key(MethodElement me,
boolean checkReturn)
Constructs a key that checks for method's name, its argument types and optionally for a return type, if checkReturn is true. |
|
| Method Summary | |
boolean |
equals(Object obj)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MethodElement.Key(Identifier name, Type[] params)
name - the method nameparams - the method's parameterspublic MethodElement.Key(Identifier name, Type[] params, Type returnType)
name - name of the methodparams - types of method's argumentsreturnType - return type for the method; if null, the key behaves like
it was constructed using MethodElement.Key(Identifier, Type[])public MethodElement.Key(MethodElement me)
me - the method elementpublic MethodElement.Key(MethodElement me, boolean checkReturn)
me - method to construct the key forcheckReturn - if true, the key contains and also checks the retunr type.| Method Detail |
public boolean equals(Object obj)
equals in class ConstructorElement.Keypublic int hashCode()
hashCode in class ConstructorElement.Key
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||