use of org.apache.logging.log4j.message.EntryMessage in project meghanada-server by mopemope.
the class FieldSignatureVisitor method visitEnd.
@Override
public void visitEnd() {
final EntryMessage em = log.traceEntry("name={} typeInfo={} currentType={} ", this.name, this.typeInfo, this.currentType);
if (this.currentType.size() > 1) {
this.currentType.pop();
}
log.traceExit(em);
}
use of org.apache.logging.log4j.message.EntryMessage in project meghanada-server by mopemope.
the class MethodAnalyzeVisitor method visitCode.
@Override
public void visitCode() {
final EntryMessage entryMessage = log.traceEntry("name={}", this.name);
if (this.interfaceMethod) {
this.hasDefault = true;
}
super.visitCode();
log.traceExit(entryMessage);
}
use of org.apache.logging.log4j.message.EntryMessage in project meghanada-server by mopemope.
the class MethodSignatureVisitor method visitTypeArgument.
@Override
public SignatureVisitor visitTypeArgument(char c) {
final EntryMessage message = log.traceEntry("params={} current={} c={}", this.parameterTypes, this.current, c);
final MethodSignatureVisitor visitor = new MethodSignatureVisitor(this.name, this);
visitor.hasTypes = true;
visitor.isParameter = this.isParameter;
visitor.isReturn = this.isReturn;
visitor.current = this.current;
switch(c) {
case SignatureVisitor.INSTANCEOF:
break;
case SignatureVisitor.SUPER:
visitor.isSuper = true;
break;
case SignatureVisitor.EXTENDS:
visitor.isExtends = true;
break;
}
log.traceExit(message);
return visitor;
}
use of org.apache.logging.log4j.message.EntryMessage in project meghanada-server by mopemope.
the class MethodSignatureVisitor method visitFormalTypeParameter.
@Override
public void visitFormalTypeParameter(final String s) {
final EntryMessage message = log.traceEntry("s={} current={}", s, this.current);
if (this.formalType == null) {
this.formalType = new TypeInfo("", "");
this.formalType.typeParameters = new ArrayList<>(4);
this.formalType.typeParameters.add(new TypeInfo(s, s));
} else {
this.formalType.typeParameters.add(new TypeInfo(s, s));
}
log.traceExit(message);
}
use of org.apache.logging.log4j.message.EntryMessage in project meghanada-server by mopemope.
the class MethodSignatureVisitor method visitReturnType.
@Override
public SignatureVisitor visitReturnType() {
final EntryMessage message = log.traceEntry("name={} parameterTypes={}", this.name, this.parameterTypes);
MethodSignatureVisitor visitor = new MethodSignatureVisitor(this.name, this);
visitor.isReturn = true;
log.traceExit(message);
return visitor;
}
Aggregations