Skip to content

Commit

Permalink
Hides static block icon in tree
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue1 committed Jul 1, 2015
1 parent 3675930 commit 20fb73a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ abstract class AbstractTypeFileTreeNodeFactoryProvider extends AbstractTreeNodeF
}

// Create methods
type.methods.collect {
type.methods.grep {
!it.name.equals('<clinit>')
}.collect {
def fragment = typeName + '-' + it.name + '-' + it.descriptor
return new FieldOrMethodBean(fragment:fragment, label:it.displayName, icon:it.icon)
}.sort { m1, m2 ->
Expand Down

0 comments on commit 20fb73a

Please sign in to comment.