Made helper classes package private registers
authorLubomir Nerad <lubomir.nerad@oracle.com>
Wed, 12 Dec 2012 14:07:53 +0100
branchregisters
changeset 310ec7d8bc17725
parent 307 eaf4e8387065
child 317 15cbc8cb2163
Made helper classes package private
vm/src/main/java/org/apidesign/vm4brwsr/LocalsMapper.java
vm/src/main/java/org/apidesign/vm4brwsr/StackMapper.java
vm/src/main/java/org/apidesign/vm4brwsr/VarType.java
vm/src/main/java/org/apidesign/vm4brwsr/Variable.java
     1.1 --- a/vm/src/main/java/org/apidesign/vm4brwsr/LocalsMapper.java	Wed Dec 12 11:04:02 2012 +0100
     1.2 +++ b/vm/src/main/java/org/apidesign/vm4brwsr/LocalsMapper.java	Wed Dec 12 14:07:53 2012 +0100
     1.3 @@ -21,7 +21,7 @@
     1.4  import org.apidesign.javap.RuntimeConstants;
     1.5  import org.apidesign.javap.TypeArray;
     1.6  
     1.7 -public final class LocalsMapper {
     1.8 +final class LocalsMapper {
     1.9      private final TypeArray argTypeRecords;
    1.10      private final TypeArray localTypeRecords;
    1.11  
     2.1 --- a/vm/src/main/java/org/apidesign/vm4brwsr/StackMapper.java	Wed Dec 12 11:04:02 2012 +0100
     2.2 +++ b/vm/src/main/java/org/apidesign/vm4brwsr/StackMapper.java	Wed Dec 12 14:07:53 2012 +0100
     2.3 @@ -19,7 +19,7 @@
     2.4  
     2.5  import org.apidesign.javap.TypeArray;
     2.6  
     2.7 -public final class StackMapper {
     2.8 +final class StackMapper {
     2.9      private final TypeArray stackTypeIndexPairs;
    2.10      private int[] typeCounters;
    2.11      private int[] typeMaxCounters;
     3.1 --- a/vm/src/main/java/org/apidesign/vm4brwsr/VarType.java	Wed Dec 12 11:04:02 2012 +0100
     3.2 +++ b/vm/src/main/java/org/apidesign/vm4brwsr/VarType.java	Wed Dec 12 14:07:53 2012 +0100
     3.3 @@ -19,7 +19,7 @@
     3.4  
     3.5  import org.apidesign.javap.RuntimeConstants;
     3.6  
     3.7 -public final class VarType {
     3.8 +final class VarType {
     3.9      public static final int INTEGER = 0;
    3.10      public static final int LONG = 1;
    3.11      public static final int FLOAT = 2;
     4.1 --- a/vm/src/main/java/org/apidesign/vm4brwsr/Variable.java	Wed Dec 12 11:04:02 2012 +0100
     4.2 +++ b/vm/src/main/java/org/apidesign/vm4brwsr/Variable.java	Wed Dec 12 14:07:53 2012 +0100
     4.3 @@ -17,7 +17,7 @@
     4.4   */
     4.5  package org.apidesign.vm4brwsr;
     4.6  
     4.7 -public final class Variable implements CharSequence {
     4.8 +final class Variable implements CharSequence {
     4.9      private static final String STACK_VAR_PREFIX = "st";
    4.10      private static final String LOCAL_VAR_PREFIX = "lc";
    4.11