本文整理汇总了Java中com.strobel.decompiler.languages.TextLocation.EMPTY属性的典型用法代码示例。如果您正苦于以下问题:Java TextLocation.EMPTY属性的具体用法?Java TextLocation.EMPTY怎么用?Java TextLocation.EMPTY使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.strobel.decompiler.languages.TextLocation
的用法示例。
在下文中一共展示了TextLocation.EMPTY属性的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: visitSimpleType
@Override
public Void visitSimpleType(SimpleType node, SourceIndex index) {
TypeReference ref = node.getUserData(Keys.TYPE_REFERENCE);
if (node.getIdentifierToken().getStartLocation() != TextLocation.EMPTY) {
ClassEntry classEntry = new ClassEntry(ref.getInternalName());
index.addReference(node.getIdentifierToken(), classEntry, m_classEntry);
}
return recurse(node, index);
}
示例2: visitSimpleType
@Override
public Void visitSimpleType(SimpleType node, SourceIndex index) {
TypeReference ref = node.getUserData(Keys.TYPE_REFERENCE);
if (node.getIdentifierToken().getStartLocation() != TextLocation.EMPTY) {
ClassEntry classEntry = new ClassEntry(ref.getInternalName());
index.addReference(node.getIdentifierToken(), classEntry, m_behaviorEntry);
}
return recurse(node, index);
}
示例3: visitSimpleType
@Override
public Void visitSimpleType(SimpleType node, SourceIndex index) {
TypeReference ref = node.getUserData(Keys.TYPE_REFERENCE);
if (node.getIdentifierToken().getStartLocation() != TextLocation.EMPTY) {
ClassEntry classEntry = new ClassEntry(ref.getInternalName());
index.addReference(node.getIdentifierToken(), classEntry, this.classEntry);
}
return recurse(node, index);
}
示例4: visitSimpleType
@Override
public Void visitSimpleType(SimpleType node, SourceIndex index) {
TypeReference ref = node.getUserData(Keys.TYPE_REFERENCE);
if (node.getIdentifierToken().getStartLocation() != TextLocation.EMPTY) {
ClassEntry classEntry = new ClassEntry(ref.getInternalName());
index.addReference(node.getIdentifierToken(), classEntry, this.behaviorEntry);
}
return recurse(node, index);
}
示例5: visitSimpleType
@Override
public Void visitSimpleType(SimpleType node, SourceIndex index)
{
TypeReference ref = node.getUserData(Keys.TYPE_REFERENCE);
if(node.getIdentifierToken().getStartLocation() != TextLocation.EMPTY)
{
ClassEntry classEntry = new ClassEntry(ref.getInternalName());
index.addReference(node.getIdentifierToken(), classEntry,
m_classEntry);
}
return recurse(node, index);
}
示例6: visitSimpleType
@Override
public Void visitSimpleType(SimpleType node, SourceIndex index)
{
TypeReference ref = node.getUserData(Keys.TYPE_REFERENCE);
if(node.getIdentifierToken().getStartLocation() != TextLocation.EMPTY)
{
ClassEntry classEntry = new ClassEntry(ref.getInternalName());
index.addReference(node.getIdentifierToken(), classEntry,
m_behaviorEntry);
}
return recurse(node, index);
}