org.apache.aries.versioning.utils
Class SemanticVersioningUtils
java.lang.Object
org.apache.aries.versioning.utils.SemanticVersioningUtils
public class SemanticVersioningUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classExt
public static final String classExt
- See Also:
- Constant Field Values
javaExt
public static final String javaExt
- See Also:
- Constant Field Values
schemaExt
public static final String schemaExt
- See Also:
- Constant Field Values
jarExt
public static final String jarExt
- See Also:
- Constant Field Values
CONSTRUTOR
public static final String CONSTRUTOR
- See Also:
- Constant Field Values
MAJOR_CHANGE
public static final String MAJOR_CHANGE
- See Also:
- Constant Field Values
MINOR_CHANGE
public static final String MINOR_CHANGE
- See Also:
- Constant Field Values
NO_CHANGE
public static final String NO_CHANGE
- See Also:
- Constant Field Values
oneLineBreak
public static final String oneLineBreak
- See Also:
- Constant Field Values
twoLineBreaks
public static final String twoLineBreaks
- See Also:
- Constant Field Values
PROPERTY_FILE_IDENTIFIER
public static final String PROPERTY_FILE_IDENTIFIER
- See Also:
- Constant Field Values
CLINIT
public static final String CLINIT
- See Also:
- Constant Field Values
SERIALIZABLE_CLASS_IDENTIFIER
public static final String SERIALIZABLE_CLASS_IDENTIFIER
- See Also:
- Constant Field Values
SERIAL_VERSION_UTD
public static final String SERIAL_VERSION_UTD
- See Also:
- Constant Field Values
ENUM_CLASS
public static final String ENUM_CLASS
- See Also:
- Constant Field Values
ASM4
public static final int ASM4
- See Also:
- Constant Field Values
SemanticVersioningUtils
public SemanticVersioningUtils()
isLessAccessible
public static boolean isLessAccessible(GenericDeclaration before,
GenericDeclaration after)
getReadableMethodSignature
public static String getReadableMethodSignature(String methodName,
String methodDesc)
- Transform ASM method desc to a human readable form
Method declaration in source file Method descriptor
void m(int i, float f) <= (IF)V
int m(Object o) <= (Ljava/lang/Object;)I
int[] m(int i, String s) <= (ILjava/lang/String;)[I
Object m(int[] i) <= ([I)Ljava/lang/Object;
- Parameters:
methodName - methodDesc -
- Returns:
transform
public static String transform(String asmDesc)
isPropertyFile
public static boolean isPropertyFile(ClassDeclaration cd)
- Return whether the binary is property file. If the binary implements the interface of java.util.ListResourceBundle
- Parameters:
cd -
- Returns:
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.