Skip to content

Commit

Permalink
missing overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
mbenson committed Nov 20, 2013
1 parent 93a6099 commit 0460907
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public interface AnnotationElementSource extends AnnotationElement<JavaAnnotatio
*/
public interface DefaultValue extends AnnotationElement.ReadDefaultValue<JavaAnnotationSource>
{
@Override
AnnotationSource<JavaAnnotationSource> getAnnotation();

DefaultValue setLiteral(String value);
Expand Down Expand Up @@ -54,5 +55,6 @@ public interface DefaultValue extends AnnotationElement.ReadDefaultValue<JavaAnn
*/
AnnotationElementSource setType(JavaType<?> entity);

@Override
AnnotationElementSource.DefaultValue getDefaultValue();
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
public interface AnnotationSource<O extends JavaType<O>> extends Annotation<O>
{

@Override
AnnotationSource<O> getAnnotationValue();

@Override
AnnotationSource<O> getAnnotationValue(String name);

AnnotationSource<O> removeValue(String name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
*/
public interface AnnotationTargetSource<O extends JavaSource<O>, T> extends AnnotationTarget<O>
{
@Override
public List<AnnotationSource<O>> getAnnotations();

@Override
public AnnotationSource<O> getAnnotation(final Class<? extends java.lang.annotation.Annotation> type);

@Override
public AnnotationSource<O> getAnnotation(final String type);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public interface Body extends EnumConstant.ReadBody<Body>, JavaSource<Body>, Fie
*/
EnumConstantSource setConstructorArguments(String... literalArguments);

@Override
EnumConstantSource.Body getBody();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ public interface FieldHolderSource<O extends JavaSource<O>> extends FieldHolder<
/**
* Get the {@link Field} with the given name and return it, otherwise, return null.
*/
@Override
public FieldSource<O> getField(String name);

/**
* Get a list of all {@link Field}s declared by this {@link O}, or return an empty list if no {@link Field}s
* are declared.
*/
@Override
public List<FieldSource<O>> getFields();
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ public interface JavaAnnotationSource extends JavaAnnotation<JavaAnnotationSourc
/**
* Get the {@link AnnotationElementSource} with the given name and return it, otherwise, return null.
*/
@Override
public AnnotationElementSource getAnnotationElement(String name);

/**
* Get a list of all {@link AnnotationElementSource}s declared by this {@link JavaAnnotation}, or return an empty
* list if no {@link AnnotationElementSource}s are declared.
*/
@Override
public List<AnnotationElementSource> getAnnotationElements();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ public interface JavaEnumSource extends JavaEnum<JavaEnumSource>, JavaSource<Jav
* @param name
* @return
*/
@Override
EnumConstantSource getEnumConstant(String name);

/**
* Return all declared {@link EnumConstant} types for this {@link JavaEnum}
*/
@Override
List<EnumConstantSource> getEnumConstants();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public interface JavaSource<T extends JavaSource<T>> extends JavaType<T>,
* <code>this</code>. Any modification of returned {@link JavaSource} instances will result in modification of the
* contents contained by <code>this</code> the parent instance.
*/
@Override
public List<JavaSource<?>> getNestedClasses();

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ public interface MemberHolderSource<O extends JavaSource<O>> extends MemberHolde
/**
* Return a list of all class members (fields, methods, etc.)
*/
@Override
public List<MemberSource<O, ?>> getMembers();
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,26 @@ public interface MethodHolderSource<O extends JavaSource<O>> extends MethodHolde
/**
* Return the {@link MethodSource} with the given name and zero parameters; otherwise return null.
*/
@Override
public MethodSource<O> getMethod(final String name);

/**
* Return the {@link MethodSource} with the given name and signature types; otherwise return null.
*/
@Override
public MethodSource<O> getMethod(final String name, String... paramTypes);

/**
* Return the {@link MethodSource} with the given name and signature types; otherwise return null.
*/
@Override
public MethodSource<O> getMethod(final String name, Class<?>... paramTypes);

/**
* Get a {@link List} of all {@link MethodSource}s declared by this {@link O} instance, if any; otherwise, return an
* empty {@link List}
*/
@Override
public List<MethodSource<O>> getMethods();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public interface MethodSource<O extends JavaSource<O>> extends Method<O, MethodS
/**
* Get a list of this {@link Method}'s parameters.
*/
@Override
public List<ParameterSource<O>> getParameters();

}

0 comments on commit 0460907

Please sign in to comment.