All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jetbrains.java.decompiler.util.token.ClassTextToken Maven / Gradle / Ivy

Go to download

Modern Java & JVM language decompiler aiming to be as accurate as possible, with an emphasis on output quality.

The newest version!
package org.jetbrains.java.decompiler.util.token;

import org.jetbrains.java.decompiler.main.extern.TextTokenVisitor;

public class ClassTextToken extends TextToken {
  public final String qualifiedName;

  public ClassTextToken(int start, int length, boolean declaration, String qualifiedName) {
    super(start, length, declaration);
    this.qualifiedName = qualifiedName;
  }

  @Override
  public ClassTextToken copy() {
    return new ClassTextToken(start, length, declaration, qualifiedName);
  }

  @Override
  public void visit(TextTokenVisitor visitor) {
    visitor.visitClass(new TextRange(start, length), declaration, qualifiedName);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy