mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
jps build: javadocs added
This commit is contained in:
@@ -69,6 +69,9 @@ public abstract class BuildRootDescriptor {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns {@code true} if the whole content of this source root was automatically generated by the JPS build process.
|
||||
*/
|
||||
public boolean isGenerated() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,11 @@ public class JavaSourceRootProperties extends JpsElementBase<JavaSourceRootPrope
|
||||
return new JavaSourceRootProperties(myPackagePrefix, myForGeneratedSources);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns {@code true} if the source root contain only sources which were automatically generated by some program. Classes from such
|
||||
* sources roots can be used in the IDE, they will be compiled with the other sources, etc, however IDE will warn users if they try
|
||||
* editing them manually.
|
||||
*/
|
||||
public boolean isForGeneratedSources() {
|
||||
return myForGeneratedSources;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user