public HashSet<Constant> getAllConstants() {
    HashSet<Constant> result = new HashSet<Constant>(20);

    for (DalvInsn insn : insns) {
      addConstants(result, insn);
    }

    return result;
  }
Returns the set of all constants referred to by instructions added to this instance.

@return {@code non-null;} the set of constants
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/OutputFinisher.java