if (classDef != null && methodName != null) {
final String className = classDef.getName();
if (className != null) {
final String elementKind;
if (className.equals(methodName)) {
<BUG>elementKind = DartSyntaxHighlighterColors.DART_CONSTRUCTOR_DECLARATION;
} else {
elementKind = isStatic(element) ? DartSyntaxHighlighterColors.DART_STATIC_MEMBER_FUNCTION</BUG>
: DartSyntaxHighlighterColors.DART_INSTANCE_MEMBER_FUNCTION;
}

if (classDef != null && methodName != null) {
final String className = classDef.getName();
if (className != null) {
final String elementKind;
if (className.equals(methodName)) {
elementKind = DartSyntaxHighlighterColors.DART_CONSTRUCTOR_DECLARATION;
}
else {
elementKind = isStatic(element) ? DartSyntaxHighlighterColors.DART_STATIC_MEMBER_FUNCTION
: DartSyntaxHighlighterColors.DART_INSTANCE_MEMBER_FUNCTION;
}
