Interface PackagedSource<T>
- All Superinterfaces:
Packaged<T>
- All Known Subinterfaces:
EnumConstantSource.Body,JavaAnnotationSource,JavaClassSource,JavaEnumSource,JavaInterfaceSource,JavaPackageInfoSource,JavaRecordSource,JavaSource<T>
Represents a
JavaSource that may be declared as belonging to a particular Java package.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionSet thisPackagedSourceto be in the default package (removes any current package declaration.)setPackage(String name) Set thisPackagedSource' package.Methods inherited from interface org.jboss.forge.roaster.model.Packaged
getPackage, isDefaultPackage
-
Method Details
-
setPackage
Set thisPackagedSource' package. -
setDefaultPackage
T setDefaultPackage()Set thisPackagedSourceto be in the default package (removes any current package declaration.)
-