aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Member.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.aspectj.matcher/src/main/java/org/aspectj/weaver/Member.java')
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/Member.java80
1 files changed, 40 insertions, 40 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Member.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Member.java
index 8134e8df2..c11dad556 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Member.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/Member.java
@@ -1,10 +1,10 @@
/* *******************************************************************
* Copyright (c) 2002-2010
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
* ******************************************************************/
package org.aspectj.weaver;
@@ -12,82 +12,82 @@ import java.util.Collection;
/**
* Abstract representation of a member (field/constructor/method) within a type.
- *
+ *
* @author PARC
* @author Adrian Colyer
* @author Andy Clement
*/
public interface Member extends Comparable<Member> {
- public static final Member[] NONE = new Member[0];
+ Member[] NONE = new Member[0];
- public static final MemberKind METHOD = new MemberKind("METHOD", 1);
- public static final MemberKind FIELD = new MemberKind("FIELD", 2);
- public static final MemberKind CONSTRUCTOR = new MemberKind("CONSTRUCTOR", 3);
- public static final MemberKind STATIC_INITIALIZATION = new MemberKind("STATIC_INITIALIZATION", 4);
- public static final MemberKind POINTCUT = new MemberKind("POINTCUT", 5);
- public static final MemberKind ADVICE = new MemberKind("ADVICE", 6);
- public static final MemberKind HANDLER = new MemberKind("HANDLER", 7);
- public static final MemberKind MONITORENTER = new MemberKind("MONITORENTER", 8);
- public static final MemberKind MONITOREXIT = new MemberKind("MONITOREXIT", 9);
+ MemberKind METHOD = new MemberKind("METHOD", 1);
+ MemberKind FIELD = new MemberKind("FIELD", 2);
+ MemberKind CONSTRUCTOR = new MemberKind("CONSTRUCTOR", 3);
+ MemberKind STATIC_INITIALIZATION = new MemberKind("STATIC_INITIALIZATION", 4);
+ MemberKind POINTCUT = new MemberKind("POINTCUT", 5);
+ MemberKind ADVICE = new MemberKind("ADVICE", 6);
+ MemberKind HANDLER = new MemberKind("HANDLER", 7);
+ MemberKind MONITORENTER = new MemberKind("MONITORENTER", 8);
+ MemberKind MONITOREXIT = new MemberKind("MONITOREXIT", 9);
- public static final AnnotationAJ[][] NO_PARAMETER_ANNOTATIONXS = new AnnotationAJ[][] {};
- public static final ResolvedType[][] NO_PARAMETER_ANNOTATION_TYPES = new ResolvedType[][] {};
+ AnnotationAJ[][] NO_PARAMETER_ANNOTATIONXS = new AnnotationAJ[][] {};
+ ResolvedType[][] NO_PARAMETER_ANNOTATION_TYPES = new ResolvedType[][] {};
/**
* @return the kind of member from those listed as MemberKind instances
*/
- public MemberKind getKind();
+ MemberKind getKind();
- public String getName();
+ String getName();
- public UnresolvedType getDeclaringType();
+ UnresolvedType getDeclaringType();
- public UnresolvedType[] getParameterTypes();
+ UnresolvedType[] getParameterTypes();
- public UnresolvedType[] getGenericParameterTypes();
+ UnresolvedType[] getGenericParameterTypes();
- public UnresolvedType getType();
+ UnresolvedType getType();
- public UnresolvedType getReturnType();
+ UnresolvedType getReturnType();
- public UnresolvedType getGenericReturnType();
+ UnresolvedType getGenericReturnType();
/**
* Return full signature, including return type, e.g. "()LFastCar;". For a signature without the return type, use
* getParameterSignature() - it is important to choose the right one in the face of covariance.
*/
- public String getSignature();
+ String getSignature();
- public JoinPointSignatureIterator getJoinPointSignatures(World world);
+ JoinPointSignatureIterator getJoinPointSignatures(World world);
- public int getArity();
+ int getArity();
/**
* Return signature without return type, e.g. "()" for a signature *with* the return type, use getSignature() - it is important
* to choose the right one in the face of covariance.
*/
- public String getParameterSignature();
+ String getParameterSignature();
- public int getModifiers(World world);
+ int getModifiers(World world);
- public int getModifiers();
+ int getModifiers();
/**
* Returns true iff the member is generic (NOT parameterized)
*/
- public boolean canBeParameterized();
+ boolean canBeParameterized();
- public AnnotationAJ[] getAnnotations();
+ AnnotationAJ[] getAnnotations();
- public Collection<ResolvedType> getDeclaringTypes(World world);
+ Collection<ResolvedType> getDeclaringTypes(World world);
- public String[] getParameterNames(World world);
+ String[] getParameterNames(World world);
- public UnresolvedType[] getExceptions(World world);
+ UnresolvedType[] getExceptions(World world);
- public ResolvedMember resolve(World world);
+ ResolvedMember resolve(World world);
- public int compareTo(Member other);
+ int compareTo(Member other);
-} \ No newline at end of file
+}