OSDN Git Service

modify implicit/explicit modifiers.
authorOlyutorskii <olyutorskii@users.osdn.me>
Tue, 11 Jun 2019 14:44:19 +0000 (23:44 +0900)
committerOlyutorskii <olyutorskii@users.osdn.me>
Tue, 11 Jun 2019 14:44:19 +0000 (23:44 +0900)
19 files changed:
config/checkstyle/checkstyle-suppressions.xml
config/pmd/pmdrules.xml
src/main/java/jp/sfjp/mikutoga/bin/parser/LoopHandler.java
src/main/java/jp/sfjp/mikutoga/pmd/BoneType.java
src/main/java/jp/sfjp/mikutoga/pmd/MorphType.java
src/main/java/jp/sfjp/mikutoga/pmd/RigidBehaviorType.java
src/main/java/jp/sfjp/mikutoga/pmd/RigidShapeType.java
src/main/java/jp/sfjp/mikutoga/pmd/parser/PmdBoneHandler.java
src/main/java/jp/sfjp/mikutoga/pmd/parser/PmdEngHandler.java
src/main/java/jp/sfjp/mikutoga/pmd/parser/PmdJointHandler.java
src/main/java/jp/sfjp/mikutoga/pmd/parser/PmdMorphHandler.java
src/main/java/jp/sfjp/mikutoga/pmd/parser/PmdShapeHandler.java
src/main/java/jp/sfjp/mikutoga/pmd/parser/PmdToonHandler.java
src/main/java/jp/sfjp/mikutoga/pmd/parser/PmdUnifiedHandler.java
src/main/java/jp/sfjp/mikutoga/vmd/FrameNumbered.java
src/main/java/jp/sfjp/mikutoga/vmd/parser/VmdBasicHandler.java
src/main/java/jp/sfjp/mikutoga/vmd/parser/VmdBoolHandler.java
src/main/java/jp/sfjp/mikutoga/vmd/parser/VmdLightingHandler.java
src/main/java/jp/sfjp/mikutoga/vmd/parser/VmdUnifiedHandler.java

index b2e5a87..6d6a0ad 100644 (file)
@@ -38,7 +38,7 @@
     <suppress files="" checks="TrailingComment" />
 
     <!-- Modifier -->
-    <suppress files="" checks="InterfaceMemberImpliedModifier" />
+    <suppress files="" checks="RedundantModifier" />
 
     <!-- Whitespace -->
     <suppress files="" checks="SingleSpaceSeparator" />
index 1dc0902..7a03b7b 100644 (file)
@@ -29,6 +29,7 @@
         <exclude name="OnlyOneReturn" />
         <exclude name="ShortVariable" />
         <exclude name="UnnecessaryLocalBeforeReturn" />
+        <exclude name="UnnecessaryModifier" />
         <exclude name="UnnecessaryReturn" />
     </rule>
     <rule ref="category/java/codestyle.xml/ClassNamingConventions" >
index f050477..cd395bd 100644 (file)
@@ -24,7 +24,8 @@ public interface LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void loopStart(ParseStage stage, int loops) throws MmdFormatException;
+    public abstract void loopStart(ParseStage stage, int loops)
+            throws MmdFormatException;
 
     /**
      * ループ構造の1イテレーション終了の通知を受け取る。
@@ -36,7 +37,8 @@ public interface LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void loopNext(ParseStage stage) throws MmdFormatException;
+    public abstract void loopNext(ParseStage stage)
+            throws MmdFormatException;
 
     /**
      * ループ構造終了の通知を受け取る。
@@ -47,6 +49,7 @@ public interface LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void loopEnd(ParseStage stage) throws MmdFormatException;
+    public abstract void loopEnd(ParseStage stage)
+            throws MmdFormatException;
 
 }
index 8a4e6b8..a809ea4 100644 (file)
@@ -69,7 +69,7 @@ public enum BoneType {
      * コンストラクタ。
      * @param code 符号化int値
      */
-    private BoneType(int code){
+    BoneType(int code){
         this((byte)code);
         return;
     }
@@ -78,7 +78,7 @@ public enum BoneType {
      * コンストラクタ。
      * @param code 符号化byte値
      */
-    private BoneType(byte code){
+    BoneType(byte code){
         this.encoded = code;
         return;
     }
index cc2be38..168376a 100644 (file)
@@ -54,7 +54,7 @@ public enum MorphType {
      * コンストラクタ。
      * @param code 符号化int値
      */
-    private MorphType(int code){
+    MorphType(int code){
         this((byte)code);
         return;
     }
@@ -63,7 +63,7 @@ public enum MorphType {
      * コンストラクタ。
      * @param code 符号化byte値
      */
-    private MorphType(byte code){
+    MorphType(byte code){
         this.encoded = code;
         return;
     }
index 3522ca3..16ee464 100644 (file)
@@ -48,7 +48,7 @@ public enum RigidBehaviorType {
      * コンストラクタ。
      * @param code 符号化int値
      */
-    private RigidBehaviorType(int code){
+    RigidBehaviorType(int code){
         this((byte)code);
         return;
     }
@@ -57,7 +57,7 @@ public enum RigidBehaviorType {
      * コンストラクタ。
      * @param code 符号化byte値
      */
-    private RigidBehaviorType(byte code){
+    RigidBehaviorType(byte code){
         this.encoded = code;
         return;
     }
index f1bceb3..80815da 100644 (file)
@@ -48,7 +48,7 @@ public enum RigidShapeType {
      * コンストラクタ。
      * @param code 符号化int値
      */
-    private RigidShapeType(int code){
+    RigidShapeType(int code){
         this((byte)code);
         return;
     }
@@ -57,7 +57,7 @@ public enum RigidShapeType {
      * コンストラクタ。
      * @param code 符号化byte値
      */
-    private RigidShapeType(byte code){
+    RigidShapeType(byte code){
         this.encoded = code;
         return;
     }
index f35256e..ad6bf75 100644 (file)
@@ -18,19 +18,19 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface PmdBoneHandler extends LoopHandler {
 
     /** ボーン定義抽出ループ。 */
-    ParseStage BONE_LIST = new ParseStage();
+    public static final ParseStage BONE_LIST = new ParseStage();
 
     /** IKリスト抽出ループ。 */
-    ParseStage IK_LIST = new ParseStage();
+    public static final ParseStage IK_LIST = new ParseStage();
 
     /** IKチェーンリスト抽出ループ。 */
-    ParseStage IKCHAIN_LIST = new ParseStage();
+    public static final ParseStage IKCHAIN_LIST = new ParseStage();
 
     /** ボーングループ名抽出ループ。 */
-    ParseStage BONEGROUP_LIST = new ParseStage();
+    public static final ParseStage BONEGROUP_LIST = new ParseStage();
 
     /** ボーングループ内訳抽出ループ。 */
-    ParseStage GROUPEDBONE_LIST = new ParseStage();
+    public static final ParseStage GROUPEDBONE_LIST = new ParseStage();
 
     /**
      * ボーン定義情報の通知を受け取る。
@@ -55,7 +55,7 @@ public interface PmdBoneHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdBoneInfo(String boneName, byte boneKind)
+    public abstract void pmdBoneInfo(String boneName, byte boneKind)
             throws MmdFormatException;
 
     /**
@@ -72,7 +72,7 @@ public interface PmdBoneHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdBoneLink(int parentId, int tailId, int ikId)
+    public abstract void pmdBoneLink(int parentId, int tailId, int ikId)
             throws MmdFormatException;
 
     /**
@@ -86,7 +86,7 @@ public interface PmdBoneHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdBonePosition(float xPos, float yPos, float zPos)
+    public abstract void pmdBonePosition(float xPos, float yPos, float zPos)
             throws MmdFormatException;
 
     /**
@@ -101,7 +101,9 @@ public interface PmdBoneHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdIKInfo(int boneId, int targetId, int depth, float weight)
+    public abstract void pmdIKInfo(
+            int boneId, int targetId,
+            int depth, float weight)
             throws MmdFormatException;
 
     /**
@@ -113,7 +115,7 @@ public interface PmdBoneHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdIKChainInfo(int childId)
+    public abstract void pmdIKChainInfo(int childId)
             throws MmdFormatException;
 
     /**
@@ -125,7 +127,8 @@ public interface PmdBoneHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdBoneGroupInfo(String groupName) throws MmdFormatException;
+    public abstract void pmdBoneGroupInfo(String groupName)
+            throws MmdFormatException;
 
     /**
      * ボーングループ内訳の通知を受け取る。
@@ -137,7 +140,7 @@ public interface PmdBoneHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdGroupedBoneInfo(int boneId, int groupId)
+    public abstract void pmdGroupedBoneInfo(int boneId, int groupId)
             throws MmdFormatException;
 
 }
index 86297ec..f996f87 100644 (file)
@@ -17,13 +17,13 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface PmdEngHandler extends LoopHandler {
 
     /** ボーン英語名抽出ループ。 */
-    ParseStage ENGBONE_LIST = new ParseStage();
+    public static final ParseStage ENGBONE_LIST = new ParseStage();
 
     /** モーフ英語名抽出ループ。 */
-    ParseStage ENGMORPH_LIST = new ParseStage();
+    public static final ParseStage ENGMORPH_LIST = new ParseStage();
 
     /** ボーングループ英語名抽出ループ。 */
-    ParseStage ENGBONEGROUP_LIST = new ParseStage();
+    public static final ParseStage ENGBONEGROUP_LIST = new ParseStage();
 
     /**
      * PMD英語情報の有無の通知を受け取る。
@@ -31,7 +31,8 @@ public interface PmdEngHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdEngEnabled(boolean hasEnglishInfo) throws MmdFormatException;
+    public abstract void pmdEngEnabled(boolean hasEnglishInfo)
+            throws MmdFormatException;
 
     /**
      * PMD英語基本情報の通知を受け取る。
@@ -40,7 +41,7 @@ public interface PmdEngHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdEngModelInfo(String modelName, String description)
+    public abstract void pmdEngModelInfo(String modelName, String description)
             throws MmdFormatException;
 
     /**
@@ -52,7 +53,8 @@ public interface PmdEngHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdEngBoneInfo(String boneName) throws MmdFormatException;
+    public abstract void pmdEngBoneInfo(String boneName)
+            throws MmdFormatException;
 
     /**
      * 英語モーフ名の通知を受け取る。
@@ -64,7 +66,8 @@ public interface PmdEngHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdEngMorphInfo(String morphName) throws MmdFormatException;
+    public abstract void pmdEngMorphInfo(String morphName)
+            throws MmdFormatException;
 
     /**
      * 英語ボーングループ名の通知を受け取る。
@@ -75,6 +78,7 @@ public interface PmdEngHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdEngBoneGroupInfo(String groupName) throws MmdFormatException;
+    public abstract void pmdEngBoneGroupInfo(String groupName)
+            throws MmdFormatException;
 
 }
index df7a4dd..166178b 100644 (file)
@@ -17,7 +17,7 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface PmdJointHandler extends LoopHandler {
 
     /** ジョイント情報抽出ループ。 */
-    ParseStage JOINT_LIST = new ParseStage();
+    public static final ParseStage JOINT_LIST = new ParseStage();
 
     /**
      * ジョイント名の通知を受け取る。
@@ -28,7 +28,7 @@ public interface PmdJointHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示。
      */
-    void pmdJointName(String jointName)
+    public abstract void pmdJointName(String jointName)
         throws MmdFormatException;
 
     /**
@@ -41,7 +41,7 @@ public interface PmdJointHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示。
      */
-    void pmdJointLink(int rigidIdA, int rigidIdB)
+    public abstract void pmdJointLink(int rigidIdA, int rigidIdB)
         throws MmdFormatException;
 
     /**
@@ -55,7 +55,7 @@ public interface PmdJointHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示。
      */
-    void pmdJointPosition(float posX, float posY, float posZ)
+    public abstract void pmdJointPosition(float posX, float posY, float posZ)
         throws MmdFormatException;
 
     /**
@@ -69,7 +69,7 @@ public interface PmdJointHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示。
      */
-    void pmdJointRotation(float radX, float radY, float radZ)
+    public abstract void pmdJointRotation(float radX, float radY, float radZ)
         throws MmdFormatException;
 
     /**
@@ -88,7 +88,7 @@ public interface PmdJointHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示。
      */
-    void pmdPositionLimit(float posXlim1, float posXlim2,
+    public abstract void pmdPositionLimit(float posXlim1, float posXlim2,
                             float posYlim1, float posYlim2,
                             float posZlim1, float posZlim2 )
         throws MmdFormatException;
@@ -109,7 +109,7 @@ public interface PmdJointHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示。
      */
-    void pmdRotationLimit(float radXlim1, float radXlim2,
+    public abstract void pmdRotationLimit(float radXlim1, float radXlim2,
                             float radYlim1, float radYlim2,
                             float radZlim1, float radZlim2 )
         throws MmdFormatException;
@@ -125,7 +125,7 @@ public interface PmdJointHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示。
      */
-    void pmdElasticPosition(float elasticPosX,
+    public abstract void pmdElasticPosition(float elasticPosX,
                                float elasticPosY,
                                float elasticPosZ )
         throws MmdFormatException;
@@ -141,7 +141,7 @@ public interface PmdJointHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示。
      */
-    void pmdElasticRotation(float elasticDegX,
+    public abstract void pmdElasticRotation(float elasticDegX,
                                float elasticDegY,
                                float elasticDegZ )
         throws MmdFormatException;
index acd018b..6978dea 100644 (file)
@@ -17,13 +17,13 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface PmdMorphHandler extends LoopHandler {
 
     /** モーフ抽出ループ。 */
-    ParseStage MORPH_LIST = new ParseStage();
+    public static final ParseStage MORPH_LIST = new ParseStage();
 
     /** モーフ頂点抽出ループ。 */
-    ParseStage MORPHVERTEX_LIST = new ParseStage();
+    public static final ParseStage MORPHVERTEX_LIST = new ParseStage();
 
     /** モーフ出現順抽出ループ。 */
-    ParseStage MORPHORDER_LIST = new ParseStage();
+    public static final ParseStage MORPHORDER_LIST = new ParseStage();
 
     /**
      * モーフ情報の通知を受け取る。
@@ -42,7 +42,7 @@ public interface PmdMorphHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdMorphInfo(String morphName, byte morphType)
+    public abstract void pmdMorphInfo(String morphName, byte morphType)
             throws MmdFormatException;
 
     /**
@@ -59,7 +59,7 @@ public interface PmdMorphHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdMorphVertexInfo(int serialId,
+    public abstract void pmdMorphVertexInfo(int serialId,
                                float xPos, float yPos, float zPos)
             throws MmdFormatException;
 
@@ -72,6 +72,7 @@ public interface PmdMorphHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdMorphOrderInfo(int morphId) throws MmdFormatException;
+    public abstract void pmdMorphOrderInfo(int morphId)
+            throws MmdFormatException;
 
 }
index 881ed28..036652c 100644 (file)
@@ -21,9 +21,9 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface PmdShapeHandler extends LoopHandler {
 
     /** 頂点抽出ループ。 */
-    ParseStage VERTEX_LIST = new ParseStage();
+    public static final ParseStage VERTEX_LIST = new ParseStage();
     /** 面抽出ループ。 */
-    ParseStage SURFACE_LIST = new ParseStage();
+    public static final ParseStage SURFACE_LIST = new ParseStage();
 
     /**
      * 頂点の座標の通知を受け取る。
@@ -36,7 +36,7 @@ public interface PmdShapeHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdVertexPosition(float xPos, float yPos, float zPos)
+    public abstract void pmdVertexPosition(float xPos, float yPos, float zPos)
             throws MmdFormatException;
 
     /**
@@ -52,7 +52,7 @@ public interface PmdShapeHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdVertexNormal(float xVec, float yVec, float zVec)
+    public abstract void pmdVertexNormal(float xVec, float yVec, float zVec)
             throws MmdFormatException;
 
     /**
@@ -66,7 +66,7 @@ public interface PmdShapeHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdVertexUV(float uVal, float vVal )
+    public abstract void pmdVertexUV(float uVal, float vVal )
             throws MmdFormatException;
 
     /**
@@ -81,7 +81,8 @@ public interface PmdShapeHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdVertexWeight(int boneId1, int boneId2, int weightForB1)
+    public abstract void pmdVertexWeight(
+            int boneId1, int boneId2, int weightForB1)
             throws MmdFormatException;
 
     /**
@@ -94,7 +95,7 @@ public interface PmdShapeHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdVertexEdge(boolean hideEdge)
+    public abstract void pmdVertexEdge(boolean hideEdge)
             throws MmdFormatException;
 
     /**
@@ -110,7 +111,8 @@ public interface PmdShapeHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdSurfaceTriangle(int vertexId1, int vertexId2, int vertexId3)
+    public abstract void pmdSurfaceTriangle(
+            int vertexId1, int vertexId2, int vertexId3)
             throws MmdFormatException;
 
 }
index b24d0e5..dc1a2ed 100644 (file)
@@ -17,7 +17,7 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface PmdToonHandler extends LoopHandler {
 
     /** トゥーンテクスチャファイル名抽出ループ。 */
-    ParseStage TOON_LIST = new ParseStage();
+    public static final ParseStage TOON_LIST = new ParseStage();
 
     /**
      * 独自トゥーンテクスチャファイル名の通知を受け取る。
@@ -28,6 +28,7 @@ public interface PmdToonHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void pmdToonFileInfo(String toonName) throws MmdFormatException;
+    public abstract void pmdToonFileInfo(String toonName)
+            throws MmdFormatException;
 
 }
index c849e89..56a0c37 100644 (file)
@@ -24,7 +24,7 @@ public interface PmdUnifiedHandler
             PmdJointHandler {
 
     /** 何もしない統合ハンドラ。 */
-    PmdUnifiedHandler EMPTY =
+    public static final PmdUnifiedHandler EMPTY =
             (PmdUnifiedHandler)
             ( EmptyProxyFactory.buildEmptyProxy(PmdUnifiedHandler.class) );
 
index 0adc470..c322a12 100644 (file)
@@ -15,19 +15,20 @@ import java.util.Comparator;
 public interface FrameNumbered {
 
     /** 昇順での比較子。 */
-    Comparator<FrameNumbered> COMPARATOR = new FrameComparator();
+    public static final Comparator<FrameNumbered> COMPARATOR =
+            new FrameComparator();
 
     /**
      * フレーム番号を設定する。
      * @param num フレーム番号
      */
-    void setFrameNumber(int num);
+    public abstract void setFrameNumber(int num);
 
     /**
      * フレーム番号を返す。
      * @return フレーム番号
      */
-    int getFrameNumber();
+    public abstract int getFrameNumber();
 
 
     /**
@@ -35,7 +36,7 @@ public interface FrameNumbered {
      * フレーム番号の昇順を定義づける。
      */
     @SuppressWarnings("serial")
-    class FrameComparator
+    public static class FrameComparator
             implements Comparator<FrameNumbered> {
 
         /**
index 6915fad..e44c00f 100644 (file)
@@ -31,10 +31,10 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface VmdBasicHandler extends LoopHandler {
 
     /** ボーンモーション抽出ループ識別子。 */
-    ParseStage BONEMOTION_LIST = new ParseStage();
+    public static final ParseStage BONEMOTION_LIST = new ParseStage();
 
     /** モーフ抽出ループ識別子。 */
-    ParseStage MORPH_LIST = new ParseStage();
+    public static final ParseStage MORPH_LIST = new ParseStage();
 
 
     /**
@@ -42,7 +42,7 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdParseStart()
+    public abstract void vmdParseStart()
             throws MmdFormatException;
 
     /**
@@ -52,7 +52,7 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdParseEnd(boolean hasMoreData)
+    public abstract void vmdParseEnd(boolean hasMoreData)
             throws MmdFormatException;
 
     /**
@@ -61,7 +61,7 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdHeaderInfo(byte[] header)
+    public abstract void vmdHeaderInfo(byte[] header)
             throws MmdFormatException;
 
 
@@ -75,7 +75,7 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdModelName(String modelName)
+    public abstract void vmdModelName(String modelName)
             throws MmdFormatException;
 
     /**
@@ -88,7 +88,7 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdBoneMotion(String boneName, int keyFrameNo)
+    public abstract void vmdBoneMotion(String boneName, int keyFrameNo)
             throws MmdFormatException;
 
     /**
@@ -104,7 +104,7 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdBonePosition(float xPos, float yPos, float zPos)
+    public abstract void vmdBonePosition(float xPos, float yPos, float zPos)
             throws MmdFormatException;
 
     /**
@@ -126,7 +126,8 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdBoneRotationQt(float qx, float qy, float qz, float qw)
+    public abstract void vmdBoneRotationQt(
+            float qx, float qy, float qz, float qw)
             throws MmdFormatException;
 
     /**
@@ -143,7 +144,8 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdBoneIntpltXpos(byte xP1x, byte xP1y, byte xP2x, byte xP2y)
+    public abstract void vmdBoneIntpltXpos(
+            byte xP1x, byte xP1y, byte xP2x, byte xP2y)
             throws MmdFormatException;
 
     /**
@@ -160,7 +162,8 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdBoneIntpltYpos(byte yP1x, byte yP1y, byte yP2x, byte yP2y)
+    public abstract void vmdBoneIntpltYpos(
+            byte yP1x, byte yP1y, byte yP2x, byte yP2y)
             throws MmdFormatException;
 
     /**
@@ -177,7 +180,8 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdBoneIntpltZpos(byte zP1x, byte zP1y, byte zP2x, byte zP2y)
+    public abstract void vmdBoneIntpltZpos(
+            byte zP1x, byte zP1y, byte zP2x, byte zP2y)
             throws MmdFormatException;
 
     /**
@@ -196,7 +200,8 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdBoneIntpltRot(byte rP1x, byte rP1y, byte rP2x, byte rP2y)
+    public abstract void vmdBoneIntpltRot(
+            byte rP1x, byte rP1y, byte rP2x, byte rP2y)
             throws MmdFormatException;
 
 
@@ -211,7 +216,8 @@ public interface VmdBasicHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdMorphMotion(String morphName, int keyFrameNo, float flex)
+    public abstract void vmdMorphMotion(
+            String morphName, int keyFrameNo, float flex)
             throws MmdFormatException;
 
 }
index d4b9c06..cbc508f 100644 (file)
@@ -20,10 +20,10 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface VmdBoolHandler extends LoopHandler {
 
     /** モデル表示スイッチ抽出ループ識別子。 */
-    ParseStage MODELSIGHT_LIST = new ParseStage();
+    public static final ParseStage MODELSIGHT_LIST = new ParseStage();
 
     /** IK有効スイッチ抽出ループ識別子。 */
-    ParseStage IKSW_LIST = new ParseStage();
+    public static final ParseStage IKSW_LIST = new ParseStage();
 
 
     /**
@@ -36,7 +36,7 @@ public interface VmdBoolHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdModelSight(boolean show, int keyFrameNo)
+    public abstract void vmdModelSight(boolean show, int keyFrameNo)
             throws MmdFormatException;
 
     /**
@@ -51,7 +51,8 @@ public interface VmdBoolHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdIkSwitch(String boneName, boolean validIk, int keyFrameNo)
+    public abstract void vmdIkSwitch(
+            String boneName, boolean validIk, int keyFrameNo)
             throws MmdFormatException;
 
 }
index adf7f20..e0d5fa3 100644 (file)
@@ -22,10 +22,10 @@ import jp.sfjp.mikutoga.bin.parser.ParseStage;
 public interface VmdLightingHandler extends LoopHandler {
 
     /** 照明光源データ抽出ループ識別子。 */
-    ParseStage LUMINOUS_LIST = new ParseStage();
+    public static final ParseStage LUMINOUS_LIST = new ParseStage();
 
     /** セルフシャドウデータ抽出ループ識別子。 */
-    ParseStage SHADOW_LIST = new ParseStage();
+    public static final ParseStage SHADOW_LIST = new ParseStage();
 
 
     /**
@@ -37,7 +37,7 @@ public interface VmdLightingHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdLuminousMotion(int keyFrameNo)
+    public abstract void vmdLuminousMotion(int keyFrameNo)
             throws MmdFormatException;
 
     /**
@@ -61,7 +61,7 @@ public interface VmdLightingHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdLuminousColor(float rVal, float gVal, float bVal)
+    public abstract void vmdLuminousColor(float rVal, float gVal, float bVal)
             throws MmdFormatException;
 
     /**
@@ -87,7 +87,8 @@ public interface VmdLightingHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdLuminousDirection(float xVec, float yVec, float zVec)
+    public abstract void vmdLuminousDirection(
+            float xVec, float yVec, float zVec)
             throws MmdFormatException;
 
     /**
@@ -99,7 +100,7 @@ public interface VmdLightingHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdShadowMotion(int keyFrameNo)
+    public abstract void vmdShadowMotion(int keyFrameNo)
             throws MmdFormatException;
 
     /**
@@ -117,7 +118,7 @@ public interface VmdLightingHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdShadowMode(byte shadowMode)
+    public abstract void vmdShadowMode(byte shadowMode)
             throws MmdFormatException;
 
     /**
@@ -134,7 +135,7 @@ public interface VmdLightingHandler extends LoopHandler {
      * @throws MmdFormatException 不正フォーマットによる
      * パース処理の中断をパーサに指示
      */
-    void vmdShadowScopeRaw(float shadowScope)
+    public abstract void vmdShadowScopeRaw(float shadowScope)
             throws MmdFormatException;
 
 }
index fb80155..661e01a 100644 (file)
@@ -19,7 +19,7 @@ public interface VmdUnifiedHandler
             VmdBoolHandler {
 
     /** 何もしない統合ハンドラ。 */
-    VmdUnifiedHandler EMPTY =
+    public static final VmdUnifiedHandler EMPTY =
             (VmdUnifiedHandler)
             ( EmptyProxyFactory.buildEmptyProxy(VmdUnifiedHandler.class) );