1
resposta

codigo font

Meu codigo font não abre, apresenta erro source not found

// Method descriptor #4 ()Z
  public abstract boolean isEmpty();

  // Method descriptor #9 (Ljava/lang/Object;)Z
  public abstract boolean contains(java.lang.Object arg0);

  // Method descriptor #75 ()Ljava/util/Iterator;
  // Signature: ()Ljava/util/Iterator<TE;>;
  public abstract java.util.Iterator iterator();

  // Method descriptor #63 ()[Ljava/lang/Object;
  public abstract java.lang.Object[] toArray();

  // Method descriptor #88 ([Ljava/lang/Object;)[Ljava/lang/Object;
  // Signature: <T:Ljava/lang/Object;>([TT;)[TT;
  public abstract java.lang.Object[] toArray(java.lang.Object[] arg0);

  // Method descriptor #9 (Ljava/lang/Object;)Z
  // Signature: (TE;)Z
  public abstract boolean add(java.lang.Object arg0);

  // Method descriptor #9 (Ljava/lang/Object;)Z
  public abstract boolean remove(java.lang.Object arg0);

  // Method descriptor #70 (Ljava/util/Collection;)Z
  // Signature: (Ljava/util/Collection<*>;)Z
  public abstract boolean containsAll(java.util.Collection arg0);

  // Method descriptor #70 (Ljava/util/Collection;)Z
  // Signature: (Ljava/util/Collection<+TE;>;)Z
  public abstract boolean addAll(java.util.Collection arg0);

  // Method descriptor #68 (ILjava/util/Collection;)Z
  // Signature: (ILjava/util/Collection<+TE;>;)Z
  public abstract boolean addAll(int arg0, java.util.Collection arg1);

  // Method descriptor #70 (Ljava/util/Collection;)Z
  // Signature: (Ljava/util/Collection<*>;)Z
  public abstract boolean removeAll(java.util.Collection arg0);

  // Method descriptor #70 (Ljava/util/Collection;)Z
  // Signature: (Ljava/util/Collection<*>;)Z
  public abstract boolean retainAll(java.util.Collection arg0);

  // Method descriptor #85 (Ljava/util/function/UnaryOperator;)V
  // Signature: (Ljava/util/function/UnaryOperator<TE;>;)V
  // Stack: 3, Locals: 3
  public void replaceAll(java.util.function.UnaryOperator arg0);
     0  aload_1 [arg0]
     1  invokestatic java.util.Objects.requireNonNull(java.lang.Object) : java.lang.Object [101]
     4  pop
     5  aload_0 [this]
     6  invokeinterface java.util.List.listIterator() : java.util.ListIterator [104] [nargs: 1]
    11  astore_2
    12  aload_2
    13  invokeinterface java.util.ListIterator.hasNext() : boolean [105] [nargs: 1]
    18  ifeq 42
    21  aload_2
    22  aload_1 [arg0]
    23  aload_2
    24  invokeinterface java.util.ListIterator.next() : java.lang.Object [106] [nargs: 1]
    29  invokeinterface java.util.function.UnaryOperator.apply(java.lang.Object) : java.lang.Object [108] [nargs: 2]
    34  invokeinterface java.util.ListIterator.set(java.lang.Object) : void [107] [nargs: 2]
    39  goto 12
    42  return
    Stack map table: number of frames 2
        [pc: 12, append: {java.util.ListIterator}]
        [pc: 42, same]
1 resposta

Oi edifer

Para configurar o source code do Java no eclipse: pressione CTRL e clique em qualquer nome de classe Java no seu código. O Eclipse agora mostrará uma tela dizendo que você não possui as fontes instaladas. No entanto, nesta tela, há um link dizendo "Attach source...". Clique nesse link e importe o arquivo src.zip do diretório de instalação do JDK (src.zip), no meu caso é: C:\Program Files\java\jdk1.8\

Pronto, depois disso as classes Java irão abrir (=