org.apache.aries.versioning.utils
Class SemanticVersioningUtils

java.lang.Object
  extended by org.apache.aries.versioning.utils.SemanticVersioningUtils

public class SemanticVersioningUtils
extends Object


Field Summary
static int ASM4
           
static String classExt
           
static String CLINIT
           
static String CONSTRUTOR
           
static String ENUM_CLASS
           
static String jarExt
           
static String javaExt
           
static String MAJOR_CHANGE
           
static String MINOR_CHANGE
           
static String NO_CHANGE
           
static String oneLineBreak
           
static String PROPERTY_FILE_IDENTIFIER
           
static String schemaExt
           
static String SERIAL_VERSION_UTD
           
static String SERIALIZABLE_CLASS_IDENTIFIER
           
static String twoLineBreaks
           
 
Constructor Summary
SemanticVersioningUtils()
           
 
Method Summary
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;
static boolean isLessAccessible(GenericDeclaration before, GenericDeclaration after)
           
static boolean isPropertyFile(ClassDeclaration cd)
          Return whether the binary is property file.
static String transform(String asmDesc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SemanticVersioningUtils

public SemanticVersioningUtils()
Method Detail

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.