Commit 6788e706 authored by Eric Bruneton's avatar Eric Bruneton

Merge branch 'remove-unused-constants' into 'master'

Delete unused constants. This does not break binary compatibility because constants are inlined.

See merge request asm/asm!259
parents db93a388 0d8479cd
Pipeline #5220 passed with stage
in 11 minutes and 49 seconds
......@@ -73,27 +73,6 @@ public class Textifier extends Printer {
/** The type of class signatures. See {@link #appendDescriptor}. */
public static final int CLASS_SIGNATURE = 5;
/**
* Deprecated.
*
* @deprecated this constant has never been used.
*/
@Deprecated public static final int TYPE_DECLARATION = 6;
/**
* Deprecated.
*
* @deprecated this constant has never been used.
*/
@Deprecated public static final int CLASS_DECLARATION = 7;
/**
* Deprecated.
*
* @deprecated this constant has never been used.
*/
@Deprecated public static final int PARAMETERS_DECLARATION = 8;
/** The type of method handle descriptors. See {@link #appendDescriptor}. */
public static final int HANDLE_DESCRIPTOR = 9;
......@@ -1283,8 +1262,7 @@ public class Textifier extends Printer {
*
* @param type the type of 'value'. Must be one of {@link #INTERNAL_NAME}, {@link
* #FIELD_DESCRIPTOR}, {@link #FIELD_SIGNATURE}, {@link #METHOD_DESCRIPTOR}, {@link
* #METHOD_SIGNATURE}, {@link #CLASS_SIGNATURE}, {@link #TYPE_DECLARATION}, {@link
* #CLASS_DECLARATION}, {@link #PARAMETERS_DECLARATION} of {@link #HANDLE_DESCRIPTOR}.
* #METHOD_SIGNATURE}, {@link #CLASS_SIGNATURE} or {@link #HANDLE_DESCRIPTOR}.
* @param value an internal name, type descriptor or a type signature. May be {@literal null}.
*/
protected void appendDescriptor(final int type, final String value) {
......
......@@ -324,7 +324,6 @@ fld protected java.lang.String tab
fld protected java.lang.String tab2
fld protected java.lang.String tab3
fld protected java.util.Map labelNames
fld public final static int CLASS_DECLARATION = 7
fld public final static int CLASS_SIGNATURE = 5
fld public final static int FIELD_DESCRIPTOR = 1
fld public final static int FIELD_SIGNATURE = 2
......@@ -332,8 +331,6 @@ fld public final static int HANDLE_DESCRIPTOR = 9
fld public final static int INTERNAL_NAME = 0
fld public final static int METHOD_DESCRIPTOR = 3
fld public final static int METHOD_SIGNATURE = 4
fld public final static int PARAMETERS_DECLARATION = 8
fld public final static int TYPE_DECLARATION = 6
meth protected org.objectweb.asm.util.Textifier createTextifier()
meth protected void appendDescriptor(int,java.lang.String)
meth protected void appendHandle(org.objectweb.asm.Handle)
......
......@@ -327,7 +327,6 @@ fld protected java.lang.String tab
fld protected java.lang.String tab2
fld protected java.lang.String tab3
fld protected java.util.Map labelNames
fld public final static int CLASS_DECLARATION = 7
fld public final static int CLASS_SIGNATURE = 5
fld public final static int FIELD_DESCRIPTOR = 1
fld public final static int FIELD_SIGNATURE = 2
......@@ -335,8 +334,6 @@ fld public final static int HANDLE_DESCRIPTOR = 9
fld public final static int INTERNAL_NAME = 0
fld public final static int METHOD_DESCRIPTOR = 3
fld public final static int METHOD_SIGNATURE = 4
fld public final static int PARAMETERS_DECLARATION = 8
fld public final static int TYPE_DECLARATION = 6
meth protected org.objectweb.asm.util.Textifier createTextifier()
meth protected void appendDescriptor(int,java.lang.String)
meth protected void appendHandle(org.objectweb.asm.Handle)
......
......@@ -362,7 +362,6 @@ fld protected java.lang.String tab
fld protected java.lang.String tab2
fld protected java.lang.String tab3
fld protected java.util.Map labelNames
fld public final static int CLASS_DECLARATION = 7
fld public final static int CLASS_SIGNATURE = 5
fld public final static int FIELD_DESCRIPTOR = 1
fld public final static int FIELD_SIGNATURE = 2
......@@ -370,8 +369,6 @@ fld public final static int HANDLE_DESCRIPTOR = 9
fld public final static int INTERNAL_NAME = 0
fld public final static int METHOD_DESCRIPTOR = 3
fld public final static int METHOD_SIGNATURE = 4
fld public final static int PARAMETERS_DECLARATION = 8
fld public final static int TYPE_DECLARATION = 6
meth protected org.objectweb.asm.util.Textifier createTextifier()
meth protected void appendDescriptor(int,java.lang.String)
meth protected void appendHandle(org.objectweb.asm.Handle)
......
......@@ -412,7 +412,6 @@ fld protected java.lang.String tab
fld protected java.lang.String tab2
fld protected java.lang.String tab3
fld protected java.util.Map<org.objectweb.asm.Label,java.lang.String> labelNames
fld public final static int CLASS_DECLARATION = 7
fld public final static int CLASS_SIGNATURE = 5
fld public final static int FIELD_DESCRIPTOR = 1
fld public final static int FIELD_SIGNATURE = 2
......@@ -420,8 +419,6 @@ fld public final static int HANDLE_DESCRIPTOR = 9
fld public final static int INTERNAL_NAME = 0
fld public final static int METHOD_DESCRIPTOR = 3
fld public final static int METHOD_SIGNATURE = 4
fld public final static int PARAMETERS_DECLARATION = 8
fld public final static int TYPE_DECLARATION = 6
meth protected org.objectweb.asm.util.Textifier createTextifier()
meth protected void appendDescriptor(int,java.lang.String)
meth protected void appendHandle(org.objectweb.asm.Handle)
......
......@@ -422,7 +422,6 @@ fld protected java.lang.String tab
fld protected java.lang.String tab2
fld protected java.lang.String tab3
fld protected java.util.Map<org.objectweb.asm.Label,java.lang.String> labelNames
fld public final static int CLASS_DECLARATION = 7
fld public final static int CLASS_SIGNATURE = 5
fld public final static int FIELD_DESCRIPTOR = 1
fld public final static int FIELD_SIGNATURE = 2
......@@ -430,8 +429,6 @@ fld public final static int HANDLE_DESCRIPTOR = 9
fld public final static int INTERNAL_NAME = 0
fld public final static int METHOD_DESCRIPTOR = 3
fld public final static int METHOD_SIGNATURE = 4
fld public final static int PARAMETERS_DECLARATION = 8
fld public final static int TYPE_DECLARATION = 6
meth protected org.objectweb.asm.util.Textifier createTextifier()
meth protected void appendDescriptor(int,java.lang.String)
meth protected void appendHandle(org.objectweb.asm.Handle)
......
......@@ -431,7 +431,6 @@ fld protected java.lang.String tab
fld protected java.lang.String tab2
fld protected java.lang.String tab3
fld protected java.util.Map<org.objectweb.asm.Label,java.lang.String> labelNames
fld public final static int CLASS_DECLARATION = 7
fld public final static int CLASS_SIGNATURE = 5
fld public final static int FIELD_DESCRIPTOR = 1
fld public final static int FIELD_SIGNATURE = 2
......@@ -439,8 +438,6 @@ fld public final static int HANDLE_DESCRIPTOR = 9
fld public final static int INTERNAL_NAME = 0
fld public final static int METHOD_DESCRIPTOR = 3
fld public final static int METHOD_SIGNATURE = 4
fld public final static int PARAMETERS_DECLARATION = 8
fld public final static int TYPE_DECLARATION = 6
meth protected org.objectweb.asm.util.Textifier createTextifier()
meth protected void appendDescriptor(int,java.lang.String)
meth protected void appendHandle(org.objectweb.asm.Handle)
......
......@@ -441,7 +441,6 @@ fld protected java.lang.String tab
fld protected java.lang.String tab2
fld protected java.lang.String tab3
fld protected java.util.Map<org.objectweb.asm.Label,java.lang.String> labelNames
fld public final static int CLASS_DECLARATION = 7
fld public final static int CLASS_SIGNATURE = 5
fld public final static int FIELD_DESCRIPTOR = 1
fld public final static int FIELD_SIGNATURE = 2
......@@ -449,8 +448,6 @@ fld public final static int HANDLE_DESCRIPTOR = 9
fld public final static int INTERNAL_NAME = 0
fld public final static int METHOD_DESCRIPTOR = 3
fld public final static int METHOD_SIGNATURE = 4
fld public final static int PARAMETERS_DECLARATION = 8
fld public final static int TYPE_DECLARATION = 6
meth protected org.objectweb.asm.util.Textifier createTextifier()
meth protected void appendDescriptor(int,java.lang.String)
meth protected void appendHandle(org.objectweb.asm.Handle)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment