mirror of
https://github.com/skylot/jadx.git
synced 2024-10-07 10:03:27 +00:00
build: disable missing warnings from javadoc
This commit is contained in:
parent
ecf20020d7
commit
fa421d165e
@ -73,4 +73,6 @@ javadoc {
|
||||
if (JavaVersion.current().isJava9Compatible()) {
|
||||
options.addBooleanOption('html5', true)
|
||||
}
|
||||
// disable 'missing' warnings
|
||||
options.addStringOption('Xdoclint:all,-missing', '-quiet')
|
||||
}
|
||||
|
@ -143,19 +143,15 @@ public class NameMapper {
|
||||
|
||||
/**
|
||||
* Return modified string with removed:
|
||||
* <p>
|
||||
* <ul>
|
||||
* <li>not printable chars (including unicode)
|
||||
* <li>chars not valid for java identifier part
|
||||
* </ul>
|
||||
* <p>
|
||||
* Note: this 'middle' method must be used with prefixed string:
|
||||
* <p>
|
||||
* <ul>
|
||||
* <li>can leave invalid chars for java identifier start (i.e numbers)
|
||||
* <li>result not checked for reserved words
|
||||
* </ul>
|
||||
* <p>
|
||||
*/
|
||||
public static String removeInvalidCharsMiddle(String name) {
|
||||
if (isValidIdentifier(name) && isAllCharsPrintable(name)) {
|
||||
|
@ -385,17 +385,16 @@ public class InsnNode extends LineAttrNode {
|
||||
|
||||
/**
|
||||
* Make copy of InsnNode object.
|
||||
* <p>
|
||||
* <br>
|
||||
* NOTE: can't copy instruction with result argument
|
||||
* (SSA variable can't be used in two different assigns).
|
||||
* <p>
|
||||
* <br>
|
||||
* Prefer use next methods:
|
||||
* <ul>
|
||||
* <li>{@link #copyWithoutResult()} to explicitly state that result not needed
|
||||
* <li>{@link #copy(RegisterArg)} to provide new result arg
|
||||
* <li>{@link #copyWithNewSsaVar(MethodNode)} to make new SSA variable for result arg
|
||||
* </ul>
|
||||
* <p>
|
||||
*/
|
||||
public InsnNode copy() {
|
||||
if (this.getClass() != InsnNode.class) {
|
||||
|
@ -336,12 +336,9 @@ public class RootNode {
|
||||
|
||||
/**
|
||||
* Searches for ClassNode by its full name (original or alias name)
|
||||
*
|
||||
* <br>
|
||||
* Warning: This method has a runtime of O(n) (n = number of classes).
|
||||
* If you need to call it more than once consider {@link #buildFullAliasClassCache()} instead
|
||||
*
|
||||
* @param fullName
|
||||
* @return
|
||||
*/
|
||||
@Nullable
|
||||
public ClassNode searchClassByFullAlias(String fullName) {
|
||||
@ -355,10 +352,6 @@ public class RootNode {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public Map<String, ClassNode> buildFullAliasClassCache() {
|
||||
Map<String, ClassNode> classNameCache = new HashMap<>(classes.size());
|
||||
for (ClassNode cls : classes) {
|
||||
|
Loading…
Reference in New Issue
Block a user