diff options
author | Lars Grefer <eclipse@larsgrefer.de> | 2020-08-17 01:19:52 +0200 |
---|---|---|
committer | Lars Grefer <eclipse@larsgrefer.de> | 2020-08-17 01:19:52 +0200 |
commit | 85ad27ee704fa8c17345bbe46c959a3e6ccbd179 (patch) | |
tree | 64db483a4fd9027cb3ba862e371427538631b5dc /org.aspectj.matcher/src/main/java/org/aspectj/weaver/AnnotationAJ.java | |
parent | c5be7f17349f1e7ea5d3da4be09b5f3e964de19b (diff) | |
download | aspectj-85ad27ee704fa8c17345bbe46c959a3e6ccbd179.tar.gz aspectj-85ad27ee704fa8c17345bbe46c959a3e6ccbd179.zip |
Remove unnecessary interface modifiers
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Diffstat (limited to 'org.aspectj.matcher/src/main/java/org/aspectj/weaver/AnnotationAJ.java')
-rw-r--r-- | org.aspectj.matcher/src/main/java/org/aspectj/weaver/AnnotationAJ.java | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/AnnotationAJ.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/AnnotationAJ.java index 311b12e1f..a5199164f 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/AnnotationAJ.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/AnnotationAJ.java @@ -1,11 +1,11 @@ /* ******************************************************************* * Copyright (c) 2006-2008 Contributors - * 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; @@ -13,90 +13,90 @@ import java.util.Set; /** * Simple representation of an annotation that the weaver can work with. - * + * * @author AndyClement */ public interface AnnotationAJ { - public static final AnnotationAJ[] EMPTY_ARRAY = new AnnotationAJ[0]; + AnnotationAJ[] EMPTY_ARRAY = new AnnotationAJ[0]; /** * @return the signature for the annotation type, eg. Lcom/foo/MyAnno; */ - public String getTypeSignature(); + String getTypeSignature(); /** * @return the type name for the annotation, eg. com.foo.MyAnno */ - public String getTypeName(); + String getTypeName(); /** * @return the type of the annotation */ - public ResolvedType getType(); + ResolvedType getType(); /** * return true if this annotation can target an annotation type */ - public boolean allowedOnAnnotationType(); + boolean allowedOnAnnotationType(); /** * @return true if this annotation can be put on a field */ - public boolean allowedOnField(); + boolean allowedOnField(); /** * @return true if this annotation can target a 'regular' type. A 'regular' type is enum/class/interface - it is *not* * annotation. */ - public boolean allowedOnRegularType(); + boolean allowedOnRegularType(); /** * @return for the @target annotation, this will return a set of the element-types it can be applied to. For other annotations , * it returns the empty set. */ - public Set<String> getTargets(); + Set<String> getTargets(); /** * @param name the name of the value * @return true if there is a value with that name */ - public boolean hasNamedValue(String name); + boolean hasNamedValue(String name); /** * @param name the name of the annotation field * @param value the value of the annotation field * @return true if there is a value with the specified name and value */ - public boolean hasNameValuePair(String name, String value); + boolean hasNameValuePair(String name, String value); /** * @return String representation of the valid targets for this annotation, eg. "{TYPE,FIELD}" */ - public String getValidTargets(); + String getValidTargets(); /** * @return String form of the annotation and any values, eg. @Foo(a=b,c=d) */ - public String stringify(); + String stringify(); /** * @return true if this annotation is marked with @target */ - public boolean specifiesTarget(); + boolean specifiesTarget(); /** * @return true if the annotation is marked for runtime visibility */ - public boolean isRuntimeVisible(); + boolean isRuntimeVisible(); /** * Determine the string representation of the value of a field. For example in @SuppressAjWarnings({"adviceDidNotMatch"}) the * return value for getStringFormOfValue("value") would be "[adviceDidNotMatch]". - * + * * @param name the name of the annotation field being looked up * @return string representation of the value of that field, may be null if no such field set */ - public String getStringFormOfValue(String name); + String getStringFormOfValue(String name); } |