org.bridj.demangling
Class Demangler

java.lang.Object
  extended by org.bridj.demangling.Demangler
Direct Known Subclasses:
GCC4Demangler, VC9Demangler

public abstract class Demangler
extends Object

Base class and core structures for symbol demanglers (typically, for C++ symbols).


Nested Class Summary
static interface Demangler.Annotations
           
static class Demangler.ClassRef
           
static class Demangler.Constant
           
 class Demangler.DemanglingException
           
static class Demangler.FunctionTypeRef
           
static class Demangler.Ident
           
static interface Demangler.IdentLike
           
static class Demangler.JavaTypeRef
           
static class Demangler.MemberRef
           
static class Demangler.NamespaceRef
           
static class Demangler.PointerTypeRef
           
static class Demangler.SpecialName
           
static class Demangler.Symbol
           
static interface Demangler.TemplateArg
           
static class Demangler.TypeRef
           
 
Constructor Summary
Demangler(NativeLibrary library, String str)
           
 
Method Summary
static Demangler.Annotations annotations(AnnotatedElement e)
           
static Demangler.Annotations annotations(Annotation[] aa)
           
static Demangler.Annotations annotations(Type e)
           
static boolean equivalentTypes(Type a, Type b)
           
static String getMethodName(Method method)
           
 String getString()
           
static StringBuilder implode(StringBuilder b, Iterable<?> items, String sep)
           
static StringBuilder implode(StringBuilder b, Object[] items, String sep)
           
static void main(String[] args)
           
abstract  Demangler.MemberRef parseSymbol()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Demangler

public Demangler(NativeLibrary library,
                 String str)
Method Detail

main

public static void main(String[] args)

annotations

public static Demangler.Annotations annotations(Annotation[] aa)

annotations

public static Demangler.Annotations annotations(Type e)

annotations

public static Demangler.Annotations annotations(AnnotatedElement e)

parseSymbol

public abstract Demangler.MemberRef parseSymbol()
                                         throws Demangler.DemanglingException
Throws:
Demangler.DemanglingException

getString

public String getString()

implode

public static StringBuilder implode(StringBuilder b,
                                    Object[] items,
                                    String sep)

implode

public static StringBuilder implode(StringBuilder b,
                                    Iterable<?> items,
                                    String sep)

getMethodName

public static String getMethodName(Method method)

equivalentTypes

public static boolean equivalentTypes(Type a,
                                      Type b)


Copyright © 2009-2013. All Rights Reserved.