public class LLNI extends Gen
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
doneHandleTypes |
protected char |
innerDelim |
Modifier and Type | Method and Description |
---|---|
protected String |
addStaticStructMember(VariableElement field,
String cname) |
protected String |
addStructMember(VariableElement member,
String cname,
boolean padWord) |
protected String |
cRcvrDecl(Element field,
String cname) |
protected void |
forwardDecls(PrintWriter pw,
TypeElement clazz) |
protected void |
forwardDeclsFromSig(PrintWriter pw,
String sig) |
protected void |
generateDeclsForClass(PrintWriter pw,
TypeElement clazz,
String cname) |
protected void |
genHandleType(PrintWriter pw,
String clazzname) |
protected String |
getIncludes()
Override this method to provide a list of #include statements
required by the native interface.
|
protected boolean |
isASCIILetterOrDigit(char c) |
protected boolean |
isLongOrDouble(TypeMirror t) |
protected String |
jniMethodName(ExecutableElement method,
String cname,
boolean longName) |
protected String |
jniType(TypeMirror t) |
protected String |
llniFieldName(VariableElement field) |
protected String |
llniType(TypeMirror t,
boolean handleize,
boolean longDoubleOK) |
protected String |
mangleClassName(String s) |
protected String |
maskName(String s) |
protected String |
methodDecl(ExecutableElement method,
TypeElement clazz,
String cname) |
protected String |
methodDecls(TypeElement clazz,
String cname) |
protected void |
methodSectionForClass(PrintWriter pw,
TypeElement clazz,
String cname) |
protected String |
nameToIdentifier(String name) |
protected boolean |
needLongName(ExecutableElement method,
TypeElement clazz) |
protected void |
structSectionForClass(PrintWriter pw,
TypeElement jclazz,
String cname) |
protected void |
write(OutputStream o,
TypeElement clazz)
Override this abstract method, generating content for the named
class into the outputstream.
|
baseFileName, cppGuardBegin, cppGuardEnd, defineForStatic, getFileObject, getFileSuffix, guardBegin, guardEnd, readBytes, run, setClasses, setFileManager, setForce, setOutFile, wrapWriter, writeFileTop
protected final char innerDelim
protected String getIncludes()
Gen
getIncludes
in class Gen
protected void write(OutputStream o, TypeElement clazz) throws Util.Exit
Gen
protected void generateDeclsForClass(PrintWriter pw, TypeElement clazz, String cname) throws com.sun.tools.javah.TypeSignature.SignatureException, Util.Exit
com.sun.tools.javah.TypeSignature.SignatureException
Util.Exit
protected void genHandleType(PrintWriter pw, String clazzname)
protected void forwardDecls(PrintWriter pw, TypeElement clazz) throws com.sun.tools.javah.TypeSignature.SignatureException
com.sun.tools.javah.TypeSignature.SignatureException
protected void forwardDeclsFromSig(PrintWriter pw, String sig)
protected void structSectionForClass(PrintWriter pw, TypeElement jclazz, String cname)
protected String addStructMember(VariableElement member, String cname, boolean padWord)
protected String addStaticStructMember(VariableElement field, String cname)
protected void methodSectionForClass(PrintWriter pw, TypeElement clazz, String cname) throws com.sun.tools.javah.TypeSignature.SignatureException, Util.Exit
com.sun.tools.javah.TypeSignature.SignatureException
Util.Exit
protected String methodDecls(TypeElement clazz, String cname) throws com.sun.tools.javah.TypeSignature.SignatureException, Util.Exit
com.sun.tools.javah.TypeSignature.SignatureException
Util.Exit
protected String methodDecl(ExecutableElement method, TypeElement clazz, String cname) throws com.sun.tools.javah.TypeSignature.SignatureException, Util.Exit
com.sun.tools.javah.TypeSignature.SignatureException
Util.Exit
protected final boolean needLongName(ExecutableElement method, TypeElement clazz)
protected final String jniMethodName(ExecutableElement method, String cname, boolean longName) throws com.sun.tools.javah.TypeSignature.SignatureException
com.sun.tools.javah.TypeSignature.SignatureException
protected final String jniType(TypeMirror t) throws Util.Exit
Util.Exit
protected String llniType(TypeMirror t, boolean handleize, boolean longDoubleOK)
protected String llniFieldName(VariableElement field)
protected final boolean isLongOrDouble(TypeMirror t)
protected final boolean isASCIILetterOrDigit(char c)
Copyright © 2017 earcam. All rights reserved.