You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/08/16 12:04:05 UTC
svn commit: r1696130 - in
/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6: ./
classfile/ generic/ verifier/ verifier/statics/ verifier/structurals/
Author: sebb
Date: Sun Aug 16 10:04:04 2015
New Revision: 1696130
URL: http://svn.apache.org/r1696130
Log:
Don't use full package name unnecessarily
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/Repository.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/JavaClass.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Unknown.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/BasicType.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/PassVerifier.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/Verifier.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactory.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactoryListModel.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass1Verifier.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass2Verifier.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/InstConstraintVisitor.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/OperandStack.java
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/Subroutine.java
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/Repository.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/Repository.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/Repository.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/Repository.java Sun Aug 16 10:04:04 2015
@@ -29,7 +29,7 @@ import org.apache.commons.bcel6.util.Syn
* to SyntheticRepository with current class path by default.
*
* @see org.apache.commons.bcel6.util.Repository
- * @see org.apache.commons.bcel6.util.SyntheticRepository
+ * @see SyntheticRepository
*
* @version $Id$
*/
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/JavaClass.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/JavaClass.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/JavaClass.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/JavaClass.java Sun Aug 16 10:04:04 2015
@@ -430,7 +430,7 @@ public class JavaClass extends AccessFla
/**
- * @return A org.apache.commons.bcel6.classfile.Method corresponding to
+ * @return A {@link Method} corresponding to
* java.lang.reflect.Method if any
*/
public Method getMethod( java.lang.reflect.Method m ) {
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Unknown.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Unknown.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Unknown.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Unknown.java Sun Aug 16 10:04:04 2015
@@ -35,8 +35,8 @@ import org.apache.commons.bcel6.Constant
*
* @version $Id$
- * @see org.apache.commons.bcel6.classfile.Attribute
- * @see org.apache.commons.bcel6.classfile.UnknownAttributeReader
+ * @see Attribute
+ * @see UnknownAttributeReader
*/
public final class Unknown extends Attribute {
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/BasicType.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/BasicType.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/BasicType.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/BasicType.java Sun Aug 16 10:04:04 2015
@@ -33,7 +33,7 @@ public final class BasicType extends Typ
* Constructor for basic types such as int, long, `void'
*
* @param type one of T_INT, T_BOOLEAN, ..., T_VOID
- * @see org.apache.commons.bcel6.Constants
+ * @see Constants
*/
BasicType(byte type) {
super(type, Constants.SHORT_TYPE_NAMES[type]);
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/PassVerifier.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/PassVerifier.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/PassVerifier.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/PassVerifier.java Sun Aug 16 10:04:04 2015
@@ -42,7 +42,7 @@ import java.util.List;
* pass you must use a new instance of a given PassVerifier.
*
* @version $Id$
- * @see org.apache.commons.bcel6.verifier.Verifier
+ * @see Verifier
* @see #verify()
*/
public abstract class PassVerifier {
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/Verifier.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/Verifier.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/Verifier.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/Verifier.java Sun Aug 16 10:04:04 2015
@@ -40,8 +40,8 @@ import org.apache.commons.bcel6.verifier
* Verifier instances are usually generated by the VerifierFactory.
*
* @version $Id$
- * @see org.apache.commons.bcel6.verifier.VerifierFactory
- * @see org.apache.commons.bcel6.verifier.PassVerifier
+ * @see VerifierFactory
+ * @see PassVerifier
*/
public class Verifier {
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactory.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactory.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactory.java Sun Aug 16 10:04:04 2015
@@ -29,7 +29,7 @@ import java.util.Vector;
* class name) there is exactly one Verifier.
*
* @version $Id$
- * @see org.apache.commons.bcel6.verifier.Verifier
+ * @see Verifier
*/
public class VerifierFactory {
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactoryListModel.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactoryListModel.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactoryListModel.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifierFactoryListModel.java Sun Aug 16 10:04:04 2015
@@ -31,7 +31,7 @@ import javax.swing.event.ListDataListene
*
* @version $Id$
*/
-public class VerifierFactoryListModel implements org.apache.commons.bcel6.verifier.VerifierFactoryObserver,
+public class VerifierFactoryListModel implements VerifierFactoryObserver,
javax.swing.ListModel<String> {
private final List<ListDataListener> listeners = new ArrayList<>();
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass1Verifier.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass1Verifier.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass1Verifier.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass1Verifier.java Sun Aug 16 10:04:04 2015
@@ -66,7 +66,7 @@ public final class Pass1Verifier extends
/**
* Should only be instantiated by a Verifier.
*
- * @see org.apache.commons.bcel6.verifier.Verifier
+ * @see Verifier
*/
public Pass1Verifier(Verifier owner){
myOwner = owner;
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass2Verifier.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass2Verifier.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass2Verifier.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass2Verifier.java Sun Aug 16 10:04:04 2015
@@ -144,7 +144,7 @@ public final class Pass2Verifier extends
* the "Code" array of methods in a few cases. Please
* see the pass 3a documentation, too.
*
- * @see org.apache.commons.bcel6.verifier.statics.Pass3aVerifier
+ * @see Pass3aVerifier
*/
@Override
public VerificationResult do_verify(){
@@ -336,19 +336,19 @@ public final class Pass2Verifier extends
cp = _jc.getConstantPool();
cplen = cp.getLength();
- CONST_Class = org.apache.commons.bcel6.classfile.ConstantClass.class;
+ CONST_Class = ConstantClass.class;
/*
- CONST_Fieldref = org.apache.commons.bcel6.classfile.ConstantFieldref.class;
- CONST_Methodref = org.apache.commons.bcel6.classfile.ConstantMethodref.class;
- CONST_InterfaceMethodref = org.apache.commons.bcel6.classfile.ConstantInterfaceMethodref.class;
+ CONST_Fieldref = ConstantFieldref.class;
+ CONST_Methodref = ConstantMethodref.class;
+ CONST_InterfaceMethodref = ConstantInterfaceMethodref.class;
*/
- CONST_String = org.apache.commons.bcel6.classfile.ConstantString.class;
- CONST_Integer = org.apache.commons.bcel6.classfile.ConstantInteger.class;
- CONST_Float = org.apache.commons.bcel6.classfile.ConstantFloat.class;
- CONST_Long = org.apache.commons.bcel6.classfile.ConstantLong.class;
- CONST_Double = org.apache.commons.bcel6.classfile.ConstantDouble.class;
- CONST_NameAndType = org.apache.commons.bcel6.classfile.ConstantNameAndType.class;
- CONST_Utf8 = org.apache.commons.bcel6.classfile.ConstantUtf8.class;
+ CONST_String = ConstantString.class;
+ CONST_Integer = ConstantInteger.class;
+ CONST_Float = ConstantFloat.class;
+ CONST_Long = ConstantLong.class;
+ CONST_Double = ConstantDouble.class;
+ CONST_NameAndType = ConstantNameAndType.class;
+ CONST_Utf8 = ConstantUtf8.class;
carrier = new DescendingVisitor(_jc, this);
carrier.visit();
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/InstConstraintVisitor.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/InstConstraintVisitor.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/InstConstraintVisitor.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/InstConstraintVisitor.java Sun Aug 16 10:04:04 2015
@@ -142,7 +142,7 @@ public class InstConstraintVisitor exten
/**
* Assures index is of type INT.
- * @throws org.apache.commons.bcel6.verifier.exc.StructuralCodeConstraintException if the above constraint is not satisfied.
+ * @throws StructuralCodeConstraintException if the above constraint is not satisfied.
*/
private void indexOfInt(Instruction o, Type index){
if (! index.equals(Type.INT)) {
@@ -154,7 +154,7 @@ public class InstConstraintVisitor exten
* Assures the ReferenceType r is initialized (or Type.NULL).
* Formally, this means (!(r instanceof UninitializedObjectType)), because
* there are no uninitialized array types.
- * @throws org.apache.commons.bcel6.verifier.exc.StructuralCodeConstraintException if the above constraint is not satisfied.
+ * @throws StructuralCodeConstraintException if the above constraint is not satisfied.
*/
private void referenceTypeIsInitialized(Instruction o, ReferenceType r){
if (r instanceof UninitializedObjectType){
@@ -172,7 +172,7 @@ public class InstConstraintVisitor exten
/**
* Assures arrayref is of ArrayType or NULL;
* returns true if and only if arrayref is non-NULL.
- * @throws org.apache.commons.bcel6.verifier.exc.StructuralCodeConstraintException if the above constraint is violated.
+ * @throws StructuralCodeConstraintException if the above constraint is violated.
*/
private boolean arrayrefOfArrayType(Instruction o, Type arrayref){
if (! ((arrayref instanceof ArrayType) || arrayref.equals(Type.NULL)) ) {
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/OperandStack.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/OperandStack.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/OperandStack.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/OperandStack.java Sun Aug 16 10:04:04 2015
@@ -29,7 +29,7 @@ import org.apache.commons.bcel6.verifier
/**
* This class implements a stack used for symbolic JVM stack simulation.
* [It's used an an operand stack substitute.]
- * Elements of this stack are org.apache.commons.bcel6.generic.Type objects.
+ * Elements of this stack are {@link Type} objects.
*
* @version $Id$
*/
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/Subroutine.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/Subroutine.java?rev=1696130&r1=1696129&r2=1696130&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/Subroutine.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/structurals/Subroutine.java Sun Aug 16 10:04:04 2015
@@ -40,7 +40,7 @@ public interface Subroutine{
* Note that JustIce has a pretty rigid notion of a subroutine.
* <B>Must not be invoked on the 'top-level subroutine'.</B>
*
- * @see org.apache.commons.bcel6.verifier.structurals.Subroutines
+ * @see Subroutines
*/
InstructionHandle getLeavingRET();