Created
April 13, 2016 01:59
-
-
Save Matthewacon/46adfefbfce87e35145d3c4e442496e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Boolean blockIsInjected(BlockType.BlockTypes bl) throws InvalidBlockTypeException { | |
switch (bl) { | |
case FIELD : return this.fieldsInjected; | |
case CONSTRUCTOR : return this.constructorsInjected; | |
case METHOD : return this.methodsInjected; | |
default : throw new InvalidBlockTypeException(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment