Package org.jboss.forge.roaster
Interface Origin<T>
- Type Parameters:
T- the concrete type of the origin
- All Known Subinterfaces:
Annotation<O>,AnnotationElement<O>,AnnotationElementSource,AnnotationSource<O>,AnnotationTarget<O>,AnnotationTargetSource<O,,T> EnumConstant<O>,EnumConstant.ReadBody<O>,EnumConstantSource,EnumConstantSource.Body,Field<O>,FieldSource<O>,JavaAnnotation<O>,JavaAnnotationSource,JavaClass<O>,JavaClassSource,JavaDoc<O>,JavaDocSource<O>,JavaEnum<O>,JavaEnumSource,JavaInterface<O>,JavaInterfaceSource,JavaPackageInfo<O>,JavaPackageInfoSource,JavaRecord<O>,JavaRecordComponent<O>,JavaRecordComponentSource,JavaRecordSource,JavaSource<T>,JavaType<T>,Member<O>,MemberSource<O,,T> Method<O,,T> MethodSource<O>,Parameter<O>,ParameterSource<O>,Property<O>,PropertySource<O>,Type<O>,TypeVariable<O>,TypeVariableSource<O>
public interface Origin<T>
Represents an object that has a root ancestor that should be made accessible to its clients.
- Author:
- Lincoln Baxter, III
-
Method Summary
-
Method Details
-
getOrigin
T getOrigin()Returns the root ancestor of this object.- Returns:
- the instance of the root ancestor
-